Page MenuHomeHEPForge

No OneTemporary

This file is larger than 256 KB, so syntax highlighting was skipped.
Index: trunk/tests/test_GaussHermiteQuadrature.cc
===================================================================
--- trunk/tests/test_GaussHermiteQuadrature.cc (revision 858)
+++ trunk/tests/test_GaussHermiteQuadrature.cc (revision 859)
@@ -1,188 +1,188 @@
#include <cmath>
#include <stdexcept>
#include "UnitTest++.h"
#include "test_utils.hh"
#include "npstat/nm/GaussHermiteQuadrature.hh"
#include "npstat/nm/SemiInfGaussianQuadrature.hh"
#include "npstat/nm/Gauss1DQuadrature.hh"
using namespace npstat;
using namespace std;
namespace {
struct Xsquared : public Functor1<long double, long double>
{
long double operator()(const long double& x) const
{return x*x;}
};
struct X11 : public Functor1<long double, long double>
{
long double operator()(const long double& x) const
{return powl(x, 11);}
};
struct X41 : public Functor1<long double, long double>
{
long double operator()(const long double& x) const
{return powl(x, 41);}
};
struct Expl : public Functor1<long double, long double>
{
inline explicit Expl(long double k) : k_(k) {}
long double operator()(const long double& x) const
{return expl(k_*x);}
private:
Expl();
long double k_;
};
TEST(GaussHermiteQuadrature)
{
- const unsigned nsup[] = {16, 32, 64, 100, 128, 256};
+ const unsigned nsup[] = {16, 32, 64, 100, 128, 256, 512};
for (unsigned icycle=0; icycle<sizeof(nsup)/sizeof(nsup[0]); ++icycle)
{
GaussHermiteQuadrature quad(nsup[icycle]);
CHECK_EQUAL(nsup[icycle], quad.npoints());
long double v = quad.integrate(Xsquared());
CHECK_CLOSE(sqrt(M_PI)/2.0, v, 1.e-15);
v = quad.integrateProb(3.0, 2.0, Xsquared());
CHECK_CLOSE(13.0, v, 1.e-15);
v = quad.integrateProb(0.0, 1.0, Xsquared());
CHECK_CLOSE(1.0, v, 1.e-15);
v = quad.integrateProb(1.0, 2.0, Xsquared());
CHECK_CLOSE(5.0, v, 1.e-15);
v = quad.integrateProb(1.0, 2.0, X11());
CHECK_CLOSE(15539261.0, v, 1.e-8);
v = quad.integrateProb(3.0, 5.0, Xsquared());
CHECK_CLOSE(34.0, v, 1.e-15);
v = quad.integrate(Expl(0.5));
CHECK_CLOSE(expl(0.5*0.5/4.0)*sqrtl(3.141592653589793238462643L),
- v, powl(10.0, -0.15*nsup[icycle]));
+ v, 1.0e-18);
v = quad.integrateProb(3.0, 2.0, Expl(0.5));
- CHECK_CLOSE(expl(2.0), v, powl(10.0, -0.1*nsup[icycle]));
+ CHECK_CLOSE(expl(2.0), v, 1.0e-18);
}
bool thrown = false;
try
{
GaussHermiteQuadrature quad(1234567U);
}
catch (std::invalid_argument& e)
{
thrown = true;
}
CHECK(thrown);
}
TEST(SemiInfGaussianQuadrature)
{
const unsigned nsup[] = {4U, 8U, 16U, 24U, 32U};
const double sigma = 7.0;
for (unsigned icycle=0; icycle<sizeof(nsup)/sizeof(nsup[0]); ++icycle)
{
SemiInfGaussianQuadrature quad(nsup[icycle]);
CHECK_EQUAL(nsup[icycle], quad.npoints());
long double v = quad.integrate(ConstValue1<long double,long double>(1.0L));
CHECK_CLOSE(sqrt(M_PI/2.0), v, 1.e-15);
v = quad.integrateProb(sigma, ConstValue1<long double,long double>(1.0L));
CHECK_CLOSE(1.0, v, 1.e-15);
v = quad.integrate(Xsquared());
CHECK_CLOSE(sqrt(M_PI/2.0), v, 1.e-15);
v = quad.integrateProb(sigma, Xsquared());
CHECK_CLOSE(49.0, v, 1.e-14);
if (nsup[icycle] > 5)
{
v = quad.integrate(X11());
CHECK_CLOSE(3840.0, v, 3840.0*1.e-15);
const double expected = 6.058285362824890442e12;
v = quad.integrateProb(sigma, X11());
CHECK_CLOSE(expected, v, expected*1.e-15);
}
if (nsup[icycle] > 20)
{
double expected = 2.55108265612582846464e24;
v = quad.integrate(X41());
CHECK_CLOSE(expected, v, expected*1.e-15);
expected = 9.071607099602855847e58;
v = quad.integrateProb(sigma, X41());
CHECK_CLOSE(expected, v, expected*1.e-15);
}
}
bool thrown = false;
try
{
SemiInfGaussianQuadrature quad(1234567U);
}
catch (std::invalid_argument& e)
{
thrown = true;
}
CHECK(thrown);
}
TEST(Gauss1DQuadrature)
{
- const unsigned nsup[] = {16, 32, 64, 100, 128, 256};
+ const unsigned nsup[] = {16, 32, 64, 100, 128, 256, 512};
for (unsigned icycle=0; icycle<sizeof(nsup)/sizeof(nsup[0]); ++icycle)
{
Gauss1DQuadrature quad(nsup[icycle], 1.0, 3.0);
CHECK_EQUAL(nsup[icycle], quad.npoints());
long double v = quad.integrate(Xsquared());
CHECK_CLOSE(10.0, v, 1.e-15);
v = quad.integrate(X11());
CHECK_CLOSE(732616336.0, v, 1.e-6);
std::vector<long double> a(2*nsup[icycle]);
std::vector<long double> w(2*nsup[icycle]);
quad.getAllAbscissae(&a[0], a.size());
quad.getAllWeights(&w[0], w.size());
long double sum2=0.0, sum11=0.0;
for (unsigned i=0; i<2*nsup[icycle]; ++i)
{
sum2 += Xsquared()(a[i])*w[i];
sum11 += X11()(a[i])*w[i];
}
CHECK_CLOSE(10.0, sum2, 1.e-14);
CHECK_CLOSE(732616336.0, sum11, 1.e-5);
}
bool thrown = false;
try
{
Gauss1DQuadrature quad(1234567U, 1.0, 3.0);
}
catch (std::invalid_argument& e)
{
thrown = true;
}
CHECK(thrown);
}
}
Index: trunk/npstat/swig/npstat_wrap.cc
===================================================================
--- trunk/npstat/swig/npstat_wrap.cc (revision 858)
+++ trunk/npstat/swig/npstat_wrap.cc (revision 859)
@@ -1304306,131235 +1304306,131316 @@
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_FloatInMemoryNtuple_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__InMemoryNtupleT_float_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_FloatInMemoryNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleInMemoryNtuple__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 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
npstat::InMemoryNtuple< double > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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_DoubleInMemoryNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
{
try {
result = (npstat::InMemoryNtuple< double > *)new npstat::InMemoryNtuple< double >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInMemoryNtuple__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 ;
npstat::InMemoryNtuple< double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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;
}
}
{
try {
result = (npstat::InMemoryNtuple< double > *)new npstat::InMemoryNtuple< double >((std::vector< std::string,std::allocator< std::string > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
return resultobj;
fail:
{
delete arg1;
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInMemoryNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleInMemoryNtuple", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
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) {
return _wrap_new_DoubleInMemoryNtuple__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
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) {
return _wrap_new_DoubleInMemoryNtuple__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleInMemoryNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::InMemoryNtuple< double >::InMemoryNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *)\n"
" npstat::InMemoryNtuple< double >::InMemoryNtuple(std::vector< std::string,std::allocator< std::string > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleInMemoryNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleInMemoryNtuple" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_nRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_nRows" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
{
try {
result = (unsigned long)((npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_fill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_fill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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_DoubleInMemoryNtuple_fill__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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_DoubleInMemoryNtuple_fill__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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_DoubleInMemoryNtuple_fill__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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_DoubleInMemoryNtuple_fill__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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_DoubleInMemoryNtuple_fill__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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_DoubleInMemoryNtuple_fill__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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_DoubleInMemoryNtuple_fill__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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_DoubleInMemoryNtuple_fill__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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_DoubleInMemoryNtuple_fill__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_fill" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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_DoubleInMemoryNtuple_fill(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleInMemoryNtuple_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__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_0(self, argc, argv);
}
return _wrap_DoubleInMemoryNtuple_fill__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple_fill__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleInMemoryNtuple_fill'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::InMemoryNtuple< double >::fill(double const *,unsigned long)\n"
" npstat::InMemoryNtuple< double >::fill(double const &)\n"
" npstat::InMemoryNtuple< double >::fill(double const &,double const &)\n"
" npstat::InMemoryNtuple< double >::fill(double const &,double const &,double const &)\n"
" npstat::InMemoryNtuple< double >::fill(double const &,double const &,double const &,double const &)\n"
" npstat::InMemoryNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &)\n"
" npstat::InMemoryNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::InMemoryNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::InMemoryNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::InMemoryNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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, "DoubleInMemoryNtuple___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple___call__" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple___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 '" "DoubleInMemoryNtuple___call__" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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, "DoubleInMemoryNtuple_at", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_at" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_at" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_clear" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_rowContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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, "DoubleInMemoryNtuple_rowContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_rowContents" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_rowContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_columnContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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, "DoubleInMemoryNtuple_columnContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_columnContents" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< 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 '" "DoubleInMemoryNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_columnContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_classId" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
{
try {
result = ((npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *arg1 = (npstat::InMemoryNtuple< 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, "DoubleInMemoryNtuple_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInMemoryNtuple_write" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< 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 '" "DoubleInMemoryNtuple_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleInMemoryNtuple_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleInMemoryNtuple_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DoubleInMemoryNtuple_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_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::InMemoryNtuple< double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleInMemoryNtuple_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 '" "DoubleInMemoryNtuple_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleInMemoryNtuple_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::InMemoryNtuple< double > *)npstat::InMemoryNtuple< double >::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__InMemoryNtupleT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleInMemoryNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleInMemoryNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_DoubleInMemoryNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *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::InMemoryNtuple< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_DoubleInMemoryNtuple", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_DoubleInMemoryNtuple" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_DoubleInMemoryNtuple" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const &""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_DoubleInMemoryNtuple" "', 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_DoubleInMemoryNtuple" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::InMemoryNtuple< double > > *)new gs::ArchiveRecord< npstat::InMemoryNtuple< double > >((npstat::InMemoryNtuple< double > 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__InMemoryNtupleT_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_delete_ArchiveRecord_DoubleInMemoryNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::InMemoryNtuple< double > > *arg1 = (gs::ArchiveRecord< npstat::InMemoryNtuple< 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_gs__ArchiveRecordT_npstat__InMemoryNtupleT_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_DoubleInMemoryNtuple" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::InMemoryNtuple< double > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::InMemoryNtuple< 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 *ArchiveRecord_DoubleInMemoryNtuple_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__InMemoryNtupleT_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_DoubleInMemoryNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_133(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InMemoryNtuple< double > *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::InMemoryNtuple< double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::InMemoryNtuple< double > const &""'");
}
arg1 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(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::InMemoryNtuple< double > >((npstat::InMemoryNtuple< double > 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::InMemoryNtuple< double > >(static_cast< const gs::ArchiveRecord< npstat::InMemoryNtuple< double > >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__InMemoryNtupleT_double_t_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_DoubleInMemoryNtuple__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::InMemoryNtuple< 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_DoubleInMemoryNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DoubleInMemoryNtuple" "', 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_DoubleInMemoryNtuple" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::InMemoryNtuple< double > > *)new gs::Reference< npstat::InMemoryNtuple< double > >(*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__InMemoryNtupleT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DoubleInMemoryNtuple__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::InMemoryNtuple< 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_DoubleInMemoryNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DoubleInMemoryNtuple" "', 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_DoubleInMemoryNtuple" "', 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_DoubleInMemoryNtuple" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::InMemoryNtuple< double > > *)new gs::Reference< npstat::InMemoryNtuple< 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_gs__ReferenceT_npstat__InMemoryNtupleT_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_DoubleInMemoryNtuple__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::InMemoryNtuple< 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_DoubleInMemoryNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DoubleInMemoryNtuple" "', 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_DoubleInMemoryNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DoubleInMemoryNtuple" "', 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_DoubleInMemoryNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DoubleInMemoryNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::InMemoryNtuple< double > > *)new gs::Reference< npstat::InMemoryNtuple< 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_gs__ReferenceT_npstat__InMemoryNtupleT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DoubleInMemoryNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_DoubleInMemoryNtuple", 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_DoubleInMemoryNtuple__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_DoubleInMemoryNtuple__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_DoubleInMemoryNtuple__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_DoubleInMemoryNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::InMemoryNtuple< double > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::InMemoryNtuple< double > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::InMemoryNtuple< double > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_DoubleInMemoryNtuple_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::InMemoryNtuple< double > > *arg1 = (gs::Reference< npstat::InMemoryNtuple< double > > *) 0 ;
unsigned long arg2 ;
npstat::InMemoryNtuple< double > *arg3 = (npstat::InMemoryNtuple< double > *) 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_DoubleInMemoryNtuple_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__InMemoryNtupleT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DoubleInMemoryNtuple_restore" "', argument " "1"" of type '" "gs::Reference< npstat::InMemoryNtuple< double > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_DoubleInMemoryNtuple_restore" "', argument " "3"" of type '" "npstat::InMemoryNtuple< double > *""'");
}
arg3 = reinterpret_cast< npstat::InMemoryNtuple< double > * >(argp3);
{
try {
((gs::Reference< npstat::InMemoryNtuple< double > > 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_DoubleInMemoryNtuple_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::InMemoryNtuple< double > > *arg1 = (gs::Reference< npstat::InMemoryNtuple< double > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::InMemoryNtuple< double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_DoubleInMemoryNtuple_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__InMemoryNtupleT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DoubleInMemoryNtuple_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::InMemoryNtuple< double > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::InMemoryNtuple< double > *)gs_Reference_Sl_npstat_InMemoryNtuple_Sl_double_Sg__Sg__retrieve((gs::Reference< npstat::InMemoryNtuple< 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__InMemoryNtupleT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_DoubleInMemoryNtuple_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::InMemoryNtuple< double > > *arg1 = (gs::Reference< npstat::InMemoryNtuple< double > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::InMemoryNtuple< double > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_DoubleInMemoryNtuple_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__InMemoryNtupleT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DoubleInMemoryNtuple_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::InMemoryNtuple< double > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::InMemoryNtuple< 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_DoubleInMemoryNtuple_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_InMemoryNtuple_Sl_double_Sg__Sg__getValue((gs::Reference< npstat::InMemoryNtuple< double > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::InMemoryNtuple< double >(static_cast< const npstat::InMemoryNtuple< double >& >(result))), SWIGTYPE_p_npstat__InMemoryNtupleT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_DoubleInMemoryNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::InMemoryNtuple< double > > *arg1 = (gs::Reference< npstat::InMemoryNtuple< 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_gs__ReferenceT_npstat__InMemoryNtupleT_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_DoubleInMemoryNtuple" "', argument " "1"" of type '" "gs::Reference< npstat::InMemoryNtuple< double > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::InMemoryNtuple< 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 *Ref_DoubleInMemoryNtuple_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__InMemoryNtupleT_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_DoubleInMemoryNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_SequentialCopulaSmoother(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SequentialCopulaSmoother *arg1 = (npstat::SequentialCopulaSmoother *) 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__SequentialCopulaSmoother, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SequentialCopulaSmoother" "', argument " "1"" of type '" "npstat::SequentialCopulaSmoother *""'");
}
arg1 = reinterpret_cast< npstat::SequentialCopulaSmoother * >(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_SequentialCopulaSmoother__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int *arg1 = (unsigned int *) 0 ;
unsigned int arg2 ;
double arg3 ;
unsigned int arg4 ;
int arg5 ;
double arg6 ;
npstat::BoundaryHandling *arg7 = 0 ;
double arg8 ;
double *arg9 = (double *) 0 ;
unsigned int arg10 ;
npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc *arg11 = (npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc *) 0 ;
bool arg12 ;
double arg13 ;
unsigned int arg14 ;
bool arg15 ;
bool arg16 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
double val8 ;
int ecode8 = 0 ;
PyArrayObject *array9 = NULL ;
int is_new_object9 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
double val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
bool val16 ;
int ecode16 = 0 ;
npstat::SequentialCopulaSmoother *result = 0 ;
if ((nobjs < 14) || (nobjs > 14)) 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_SequentialCopulaSmoother" "', 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_SequentialCopulaSmoother" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_int(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SequentialCopulaSmoother" "', argument " "5"" of type '" "int""'");
}
arg5 = static_cast< int >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SequentialCopulaSmoother" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
res7 = SWIG_ConvertPtr(swig_obj[5], &argp7, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SequentialCopulaSmoother" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SequentialCopulaSmoother" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
arg7 = reinterpret_cast< npstat::BoundaryHandling * >(argp7);
ecode8 = SWIG_AsVal_double(swig_obj[6], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SequentialCopulaSmoother" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
{
npy_intp size[1] = {
-1
};
array9 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_DOUBLE,
&is_new_object9);
if (!array9 || !require_dimensions(array9, 1) ||
!require_size(array9, size, 1)) SWIG_fail;
arg9 = (double*) array_data(array9);
arg10 = (int) array_size(array9,0);
}
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11,SWIGTYPE_p_npstat__AbsBandwidthCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "new_SequentialCopulaSmoother" "', argument " "11"" of type '" "npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc const *""'");
}
arg11 = reinterpret_cast< npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_SequentialCopulaSmoother" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_double(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_SequentialCopulaSmoother" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[11], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_SequentialCopulaSmoother" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[12], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_SequentialCopulaSmoother" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
ecode16 = SWIG_AsVal_bool(swig_obj[13], &val16);
if (!SWIG_IsOK(ecode16)) {
SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "new_SequentialCopulaSmoother" "', argument " "16"" of type '" "bool""'");
}
arg16 = static_cast< bool >(val16);
{
try {
result = (npstat::SequentialCopulaSmoother *)new npstat::SequentialCopulaSmoother((unsigned int const *)arg1,arg2,arg3,arg4,arg5,arg6,(npstat::BoundaryHandling const &)*arg7,arg8,(double const *)arg9,arg10,(npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc const *)arg11,arg12,arg13,arg14,arg15,arg16);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SequentialCopulaSmoother, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object9 && array9)
{
Py_DECREF(array9);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object9 && array9)
{
Py_DECREF(array9);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SequentialCopulaSmoother__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int *arg1 = (unsigned int *) 0 ;
unsigned int arg2 ;
double arg3 ;
unsigned int arg4 ;
int arg5 ;
double arg6 ;
npstat::BoundaryHandling *arg7 = 0 ;
double arg8 ;
double *arg9 = (double *) 0 ;
unsigned int arg10 ;
npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc *arg11 = (npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc *) 0 ;
bool arg12 ;
double arg13 ;
unsigned int arg14 ;
bool arg15 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
double val8 ;
int ecode8 = 0 ;
PyArrayObject *array9 = NULL ;
int is_new_object9 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
double val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
npstat::SequentialCopulaSmoother *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) 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_SequentialCopulaSmoother" "', 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_SequentialCopulaSmoother" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_int(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SequentialCopulaSmoother" "', argument " "5"" of type '" "int""'");
}
arg5 = static_cast< int >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SequentialCopulaSmoother" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
res7 = SWIG_ConvertPtr(swig_obj[5], &argp7, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SequentialCopulaSmoother" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SequentialCopulaSmoother" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
arg7 = reinterpret_cast< npstat::BoundaryHandling * >(argp7);
ecode8 = SWIG_AsVal_double(swig_obj[6], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SequentialCopulaSmoother" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
{
npy_intp size[1] = {
-1
};
array9 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_DOUBLE,
&is_new_object9);
if (!array9 || !require_dimensions(array9, 1) ||
!require_size(array9, size, 1)) SWIG_fail;
arg9 = (double*) array_data(array9);
arg10 = (int) array_size(array9,0);
}
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11,SWIGTYPE_p_npstat__AbsBandwidthCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "new_SequentialCopulaSmoother" "', argument " "11"" of type '" "npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc const *""'");
}
arg11 = reinterpret_cast< npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_SequentialCopulaSmoother" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_double(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_SequentialCopulaSmoother" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[11], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_SequentialCopulaSmoother" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[12], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_SequentialCopulaSmoother" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
{
try {
result = (npstat::SequentialCopulaSmoother *)new npstat::SequentialCopulaSmoother((unsigned int const *)arg1,arg2,arg3,arg4,arg5,arg6,(npstat::BoundaryHandling const &)*arg7,arg8,(double const *)arg9,arg10,(npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc const *)arg11,arg12,arg13,arg14,arg15);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SequentialCopulaSmoother, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object9 && array9)
{
Py_DECREF(array9);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object9 && array9)
{
Py_DECREF(array9);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SequentialCopulaSmoother(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[15] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_SequentialCopulaSmoother", 0, 14, argv))) SWIG_fail;
--argc;
if (argc == 13) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
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_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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_npstat__AbsBandwidthCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_AsVal_unsigned_SS_int(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SequentialCopulaSmoother__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 14) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
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_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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_npstat__AbsBandwidthCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_AsVal_unsigned_SS_int(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SequentialCopulaSmoother__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SequentialCopulaSmoother'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::SequentialCopulaSmoother::SequentialCopulaSmoother(unsigned int const *,unsigned int,double,unsigned int,int,double,npstat::BoundaryHandling const &,double,double const *,unsigned int,npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc const *,bool,double,unsigned int,bool,bool)\n"
" npstat::SequentialCopulaSmoother::SequentialCopulaSmoother(unsigned int const *,unsigned int,double,unsigned int,int,double,npstat::BoundaryHandling const &,double,double const *,unsigned int,npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc const *,bool,double,unsigned int,bool)\n");
return 0;
}
SWIGINTERN PyObject *SequentialCopulaSmoother_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__SequentialCopulaSmoother, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *SequentialCopulaSmoother_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthCVPseudoLogliND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_UCharBandwidthCVPseudoLogliND" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *)new npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthCVPseudoLogliND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *)new npstat::BandwidthCVPseudoLogliND< 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__BandwidthCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthCVPseudoLogliND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_UCharBandwidthCVPseudoLogliND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_UCharBandwidthCVPseudoLogliND__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_UCharBandwidthCVPseudoLogliND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_UCharBandwidthCVPseudoLogliND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > >::BandwidthCVPseudoLogliND(double)\n"
" npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > >::BandwidthCVPseudoLogliND()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_UCharBandwidthCVPseudoLogliND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< 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__BandwidthCVPseudoLogliNDT_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_UCharBandwidthCVPseudoLogliND" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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_UCharBandwidthCVPseudoLogliND_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< 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__BandwidthCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthCVPseudoLogliND_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *)arg1)->getNonZeroCount();
} 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_UCharBandwidthCVPseudoLogliND_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< 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__BandwidthCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthCVPseudoLogliND_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *)arg1)->getRenormCount();
} 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_UCharBandwidthCVPseudoLogliND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< unsigned char > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::AbsPolyFilterND *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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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 '" "UCharBandwidthCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVPseudoLogliND___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 '" "UCharBandwidthCVPseudoLogliND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVPseudoLogliND___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__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "UCharBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg4 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp4);
{
try {
result = (double)((npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< unsigned char > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::AbsPolyFilterND const &)*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_UCharBandwidthCVPseudoLogliND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< unsigned char > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 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 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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 '" "UCharBandwidthCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVPseudoLogliND___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 '" "UCharBandwidthCVPseudoLogliND___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 '" "UCharBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVPseudoLogliND___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 '" "UCharBandwidthCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< unsigned char > const &)*arg2,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_UCharBandwidthCVPseudoLogliND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "UCharBandwidthCVPseudoLogliND___call__", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_UCharBandwidthCVPseudoLogliND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_UCharBandwidthCVPseudoLogliND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharBandwidthCVPseudoLogliND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > >::operator ()(npstat::HistoND< unsigned char > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthCVPseudoLogliND< unsigned char,npstat::ArrayND< double > >::operator ()(npstat::HistoND< unsigned char > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *UCharBandwidthCVPseudoLogliND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharBandwidthCVPseudoLogliND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthCVPseudoLogliND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_IntBandwidthCVPseudoLogliND" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *)new npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthCVPseudoLogliND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *)new npstat::BandwidthCVPseudoLogliND< 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__BandwidthCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthCVPseudoLogliND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_IntBandwidthCVPseudoLogliND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_IntBandwidthCVPseudoLogliND__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_IntBandwidthCVPseudoLogliND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_IntBandwidthCVPseudoLogliND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > >::BandwidthCVPseudoLogliND(double)\n"
" npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > >::BandwidthCVPseudoLogliND()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_IntBandwidthCVPseudoLogliND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< 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__BandwidthCVPseudoLogliNDT_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_IntBandwidthCVPseudoLogliND" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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_IntBandwidthCVPseudoLogliND_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< 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__BandwidthCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthCVPseudoLogliND_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > const *)arg1)->getNonZeroCount();
} 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_IntBandwidthCVPseudoLogliND_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< 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__BandwidthCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthCVPseudoLogliND_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > const *)arg1)->getRenormCount();
} 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_IntBandwidthCVPseudoLogliND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< int > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::AbsPolyFilterND *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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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 '" "IntBandwidthCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVPseudoLogliND___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 '" "IntBandwidthCVPseudoLogliND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVPseudoLogliND___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__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "IntBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg4 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp4);
{
try {
result = (double)((npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< int > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::AbsPolyFilterND const &)*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_IntBandwidthCVPseudoLogliND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< int > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 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 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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 '" "IntBandwidthCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVPseudoLogliND___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 '" "IntBandwidthCVPseudoLogliND___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 '" "IntBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVPseudoLogliND___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 '" "IntBandwidthCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< int > const &)*arg2,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_IntBandwidthCVPseudoLogliND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "IntBandwidthCVPseudoLogliND___call__", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_IntBandwidthCVPseudoLogliND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_IntBandwidthCVPseudoLogliND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'IntBandwidthCVPseudoLogliND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > >::operator ()(npstat::HistoND< int > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthCVPseudoLogliND< int,npstat::ArrayND< double > >::operator ()(npstat::HistoND< int > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *IntBandwidthCVPseudoLogliND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntBandwidthCVPseudoLogliND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthCVPseudoLogliND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LongBandwidthCVPseudoLogliND" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *)new npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthCVPseudoLogliND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *)new npstat::BandwidthCVPseudoLogliND< 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__BandwidthCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthCVPseudoLogliND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LongBandwidthCVPseudoLogliND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_LongBandwidthCVPseudoLogliND__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_LongBandwidthCVPseudoLogliND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LongBandwidthCVPseudoLogliND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > >::BandwidthCVPseudoLogliND(double)\n"
" npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > >::BandwidthCVPseudoLogliND()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_LongBandwidthCVPseudoLogliND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< 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__BandwidthCVPseudoLogliNDT_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_LongBandwidthCVPseudoLogliND" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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_LongBandwidthCVPseudoLogliND_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< 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__BandwidthCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthCVPseudoLogliND_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > const *)arg1)->getNonZeroCount();
} 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_LongBandwidthCVPseudoLogliND_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< 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__BandwidthCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthCVPseudoLogliND_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > const *)arg1)->getRenormCount();
} 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_LongBandwidthCVPseudoLogliND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< long > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::AbsPolyFilterND *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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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 '" "LongBandwidthCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVPseudoLogliND___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 '" "LongBandwidthCVPseudoLogliND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVPseudoLogliND___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__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LongBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg4 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp4);
{
try {
result = (double)((npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< long > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::AbsPolyFilterND const &)*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_LongBandwidthCVPseudoLogliND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< long > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 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 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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 '" "LongBandwidthCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVPseudoLogliND___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 '" "LongBandwidthCVPseudoLogliND___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 '" "LongBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVPseudoLogliND___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 '" "LongBandwidthCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< long > const &)*arg2,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_LongBandwidthCVPseudoLogliND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LongBandwidthCVPseudoLogliND___call__", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LongBandwidthCVPseudoLogliND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LongBandwidthCVPseudoLogliND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LongBandwidthCVPseudoLogliND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > >::operator ()(npstat::HistoND< long > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthCVPseudoLogliND< long,npstat::ArrayND< double > >::operator ()(npstat::HistoND< long > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *LongBandwidthCVPseudoLogliND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongBandwidthCVPseudoLogliND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthCVPseudoLogliND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FloatBandwidthCVPseudoLogliND" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *)new npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthCVPseudoLogliND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *)new npstat::BandwidthCVPseudoLogliND< 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__BandwidthCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthCVPseudoLogliND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_FloatBandwidthCVPseudoLogliND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_FloatBandwidthCVPseudoLogliND__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatBandwidthCVPseudoLogliND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FloatBandwidthCVPseudoLogliND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > >::BandwidthCVPseudoLogliND(double)\n"
" npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > >::BandwidthCVPseudoLogliND()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_FloatBandwidthCVPseudoLogliND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< 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__BandwidthCVPseudoLogliNDT_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_FloatBandwidthCVPseudoLogliND" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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_FloatBandwidthCVPseudoLogliND_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< 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__BandwidthCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthCVPseudoLogliND_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > const *)arg1)->getNonZeroCount();
} 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_FloatBandwidthCVPseudoLogliND_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< 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__BandwidthCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthCVPseudoLogliND_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > const *)arg1)->getRenormCount();
} 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_FloatBandwidthCVPseudoLogliND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< float > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::AbsPolyFilterND *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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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 '" "FloatBandwidthCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVPseudoLogliND___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 '" "FloatBandwidthCVPseudoLogliND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVPseudoLogliND___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__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg4 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp4);
{
try {
result = (double)((npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< float > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::AbsPolyFilterND const &)*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_FloatBandwidthCVPseudoLogliND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< float > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 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 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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 '" "FloatBandwidthCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVPseudoLogliND___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 '" "FloatBandwidthCVPseudoLogliND___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 '" "FloatBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVPseudoLogliND___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 '" "FloatBandwidthCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< float > const &)*arg2,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_FloatBandwidthCVPseudoLogliND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatBandwidthCVPseudoLogliND___call__", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatBandwidthCVPseudoLogliND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatBandwidthCVPseudoLogliND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatBandwidthCVPseudoLogliND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > >::operator ()(npstat::HistoND< float > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthCVPseudoLogliND< float,npstat::ArrayND< double > >::operator ()(npstat::HistoND< float > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *FloatBandwidthCVPseudoLogliND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatBandwidthCVPseudoLogliND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthCVPseudoLogliND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DoubleBandwidthCVPseudoLogliND" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *)new npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthCVPseudoLogliND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *)new npstat::BandwidthCVPseudoLogliND< 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__BandwidthCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthCVPseudoLogliND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleBandwidthCVPseudoLogliND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_DoubleBandwidthCVPseudoLogliND__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleBandwidthCVPseudoLogliND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleBandwidthCVPseudoLogliND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > >::BandwidthCVPseudoLogliND(double)\n"
" npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > >::BandwidthCVPseudoLogliND()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleBandwidthCVPseudoLogliND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< 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__BandwidthCVPseudoLogliNDT_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_DoubleBandwidthCVPseudoLogliND" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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_DoubleBandwidthCVPseudoLogliND_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< 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__BandwidthCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthCVPseudoLogliND_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > const *)arg1)->getNonZeroCount();
} 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_DoubleBandwidthCVPseudoLogliND_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< 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__BandwidthCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthCVPseudoLogliND_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > const *)arg1)->getRenormCount();
} 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_DoubleBandwidthCVPseudoLogliND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< double > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::AbsPolyFilterND *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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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 '" "DoubleBandwidthCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVPseudoLogliND___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 '" "DoubleBandwidthCVPseudoLogliND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVPseudoLogliND___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__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg4 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp4);
{
try {
result = (double)((npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< double > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::AbsPolyFilterND const &)*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_DoubleBandwidthCVPseudoLogliND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< double > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 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 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogliND< 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 '" "DoubleBandwidthCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVPseudoLogliND___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 '" "DoubleBandwidthCVPseudoLogliND___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 '" "DoubleBandwidthCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVPseudoLogliND___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 '" "DoubleBandwidthCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< double > const &)*arg2,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_DoubleBandwidthCVPseudoLogliND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleBandwidthCVPseudoLogliND___call__", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleBandwidthCVPseudoLogliND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleBandwidthCVPseudoLogliND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleBandwidthCVPseudoLogliND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > >::operator ()(npstat::HistoND< double > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthCVPseudoLogliND< double,npstat::ArrayND< double > >::operator ()(npstat::HistoND< double > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *DoubleBandwidthCVPseudoLogliND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleBandwidthCVPseudoLogliND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_contDegreeTaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< double,std::allocator< double > > 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 '" "contDegreeTaper" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = npstat::contDegreeTaper(arg1);
} 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_new_DensityScan1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
double arg2 ;
unsigned long arg3 ;
double arg4 ;
double arg5 ;
unsigned int arg6 ;
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 ;
unsigned int val6 ;
int ecode6 = 0 ;
npstat::DensityScan1D *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_DensityScan1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D" "', 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_DensityScan1D" "', 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 '" "new_DensityScan1D" "', 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 '" "new_DensityScan1D" "', 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 '" "new_DensityScan1D" "', 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_DensityScan1D" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (npstat::DensityScan1D *)new npstat::DensityScan1D((npstat::AbsDistribution1D 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__DensityScan1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DensityScan1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 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 ;
npstat::DensityScan1D *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_DensityScan1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D" "', 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_DensityScan1D" "', 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 '" "new_DensityScan1D" "', 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 '" "new_DensityScan1D" "', 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 '" "new_DensityScan1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (npstat::DensityScan1D *)new npstat::DensityScan1D((npstat::AbsDistribution1D const &)*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__DensityScan1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DensityScan1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DensityScan1D", 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_long(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_DensityScan1D__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_long(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_new_DensityScan1D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DensityScan1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::DensityScan1D::DensityScan1D(npstat::AbsDistribution1D const &,double,unsigned long,double,double,unsigned int)\n"
" npstat::DensityScan1D::DensityScan1D(npstat::AbsDistribution1D const &,double,unsigned long,double,double)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DensityScan1D___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1D *arg1 = (npstat::DensityScan1D *) 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] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DensityScan1D___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DensityScan1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityScan1D___call__" "', argument " "1"" of type '" "npstat::DensityScan1D const *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1D * >(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 '" "DensityScan1D___call__" "', 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 '" "DensityScan1D___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::DensityScan1D const *)arg1)->operator ()((unsigned int 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_DensityScan1D_averageDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1D *arg1 = (npstat::DensityScan1D *) 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, "DensityScan1D_averageDensity", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DensityScan1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityScan1D_averageDensity" "', argument " "1"" of type '" "npstat::DensityScan1D const *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DensityScan1D_averageDensity" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::DensityScan1D const *)arg1)->averageDensity(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_delete_DensityScan1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1D *arg1 = (npstat::DensityScan1D *) 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__DensityScan1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DensityScan1D" "', argument " "1"" of type '" "npstat::DensityScan1D *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1D * >(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 *DensityScan1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DensityScan1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DensityScan1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DensityDiscretizationError1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
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 ;
PyObject *swig_obj[3] ;
npstat::DensityDiscretizationError1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DensityDiscretizationError1D", 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 '" "new_DensityDiscretizationError1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityDiscretizationError1D" "', 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_DensityDiscretizationError1D" "', 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_DensityDiscretizationError1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::DensityDiscretizationError1D *)new npstat::DensityDiscretizationError1D((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__DensityDiscretizationError1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DensityDiscretizationError1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityDiscretizationError1D *arg1 = (npstat::DensityDiscretizationError1D *) 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__DensityDiscretizationError1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DensityDiscretizationError1D" "', argument " "1"" of type '" "npstat::DensityDiscretizationError1D *""'");
}
arg1 = reinterpret_cast< npstat::DensityDiscretizationError1D * >(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_DensityDiscretizationError1D___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityDiscretizationError1D *arg1 = (npstat::DensityDiscretizationError1D *) 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, "DensityDiscretizationError1D___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DensityDiscretizationError1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityDiscretizationError1D___call__" "', argument " "1"" of type '" "npstat::DensityDiscretizationError1D const *""'");
}
arg1 = reinterpret_cast< npstat::DensityDiscretizationError1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DensityDiscretizationError1D___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::DensityDiscretizationError1D 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 *DensityDiscretizationError1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DensityDiscretizationError1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DensityDiscretizationError1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DensityScan1D_Linear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::LinearMapper1dTmpl< double > *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] ;
npstat::DensityScan1DTrans< npstat::LinearMapper1d > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DensityScan1D_Linear", 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 '" "new_DensityScan1D_Linear" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Linear" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LinearMapper1dTmplT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DensityScan1D_Linear" "', argument " "2"" of type '" "npstat::LinearMapper1dTmpl< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Linear" "', argument " "2"" of type '" "npstat::LinearMapper1dTmpl< double > const &""'");
}
arg2 = reinterpret_cast< npstat::LinearMapper1dTmpl< double > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DensityScan1D_Linear" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::DensityScan1DTrans< npstat::LinearMapper1d > *)new npstat::DensityScan1DTrans< npstat::LinearMapper1d >((npstat::AbsDistribution1D const &)*arg1,(npstat::LinearMapper1dTmpl< 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__DensityScan1DTransT_npstat__LinearMapper1dTmplT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DensityScan1D_Linear___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::LinearMapper1d > *arg1 = (npstat::DensityScan1DTrans< npstat::LinearMapper1d > *) 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] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DensityScan1D_Linear___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__LinearMapper1dTmplT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityScan1D_Linear___call__" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::LinearMapper1d > const *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::LinearMapper1d > * >(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 '" "DensityScan1D_Linear___call__" "', 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 '" "DensityScan1D_Linear___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::DensityScan1DTrans< npstat::LinearMapper1d > const *)arg1)->operator ()((unsigned int 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_delete_DensityScan1D_Linear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::LinearMapper1d > *arg1 = (npstat::DensityScan1DTrans< npstat::LinearMapper1d > *) 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__DensityScan1DTransT_npstat__LinearMapper1dTmplT_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DensityScan1D_Linear" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::LinearMapper1d > *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::LinearMapper1d > * >(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 *DensityScan1D_Linear_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__LinearMapper1dTmplT_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DensityScan1D_Linear_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DensityScan1D_Log(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::LogMapper1d *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] ;
npstat::DensityScan1DTrans< npstat::LogMapper1d > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DensityScan1D_Log", 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 '" "new_DensityScan1D_Log" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Log" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LogMapper1d, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DensityScan1D_Log" "', argument " "2"" of type '" "npstat::LogMapper1d const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Log" "', argument " "2"" of type '" "npstat::LogMapper1d const &""'");
}
arg2 = reinterpret_cast< npstat::LogMapper1d * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DensityScan1D_Log" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::DensityScan1DTrans< npstat::LogMapper1d > *)new npstat::DensityScan1DTrans< npstat::LogMapper1d >((npstat::AbsDistribution1D const &)*arg1,(npstat::LogMapper1d const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__LogMapper1d_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DensityScan1D_Log___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::LogMapper1d > *arg1 = (npstat::DensityScan1DTrans< npstat::LogMapper1d > *) 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] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DensityScan1D_Log___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__LogMapper1d_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityScan1D_Log___call__" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::LogMapper1d > const *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::LogMapper1d > * >(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 '" "DensityScan1D_Log___call__" "', 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 '" "DensityScan1D_Log___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::DensityScan1DTrans< npstat::LogMapper1d > const *)arg1)->operator ()((unsigned int 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_delete_DensityScan1D_Log(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::LogMapper1d > *arg1 = (npstat::DensityScan1DTrans< npstat::LogMapper1d > *) 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__DensityScan1DTransT_npstat__LogMapper1d_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DensityScan1D_Log" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::LogMapper1d > *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::LogMapper1d > * >(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 *DensityScan1D_Log_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__LogMapper1d_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DensityScan1D_Log_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DensityScan1D_Circular(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::CircularMapper1d *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] ;
npstat::DensityScan1DTrans< npstat::CircularMapper1d > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DensityScan1D_Circular", 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 '" "new_DensityScan1D_Circular" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Circular" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__CircularMapper1d, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DensityScan1D_Circular" "', argument " "2"" of type '" "npstat::CircularMapper1d const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Circular" "', argument " "2"" of type '" "npstat::CircularMapper1d const &""'");
}
arg2 = reinterpret_cast< npstat::CircularMapper1d * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DensityScan1D_Circular" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::DensityScan1DTrans< npstat::CircularMapper1d > *)new npstat::DensityScan1DTrans< npstat::CircularMapper1d >((npstat::AbsDistribution1D const &)*arg1,(npstat::CircularMapper1d const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__CircularMapper1d_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DensityScan1D_Circular___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::CircularMapper1d > *arg1 = (npstat::DensityScan1DTrans< npstat::CircularMapper1d > *) 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] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DensityScan1D_Circular___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__CircularMapper1d_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityScan1D_Circular___call__" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::CircularMapper1d > const *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::CircularMapper1d > * >(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 '" "DensityScan1D_Circular___call__" "', 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 '" "DensityScan1D_Circular___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::DensityScan1DTrans< npstat::CircularMapper1d > const *)arg1)->operator ()((unsigned int 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_delete_DensityScan1D_Circular(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::CircularMapper1d > *arg1 = (npstat::DensityScan1DTrans< npstat::CircularMapper1d > *) 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__DensityScan1DTransT_npstat__CircularMapper1d_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DensityScan1D_Circular" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::CircularMapper1d > *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::CircularMapper1d > * >(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 *DensityScan1D_Circular_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__CircularMapper1d_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DensityScan1D_Circular_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DensityScan1D_Interpolated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::LinInterpolatedTable1D *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] ;
npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DensityScan1D_Interpolated", 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 '" "new_DensityScan1D_Interpolated" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Interpolated" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LinInterpolatedTable1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DensityScan1D_Interpolated" "', argument " "2"" of type '" "npstat::LinInterpolatedTable1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Interpolated" "', argument " "2"" of type '" "npstat::LinInterpolatedTable1D const &""'");
}
arg2 = reinterpret_cast< npstat::LinInterpolatedTable1D * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DensityScan1D_Interpolated" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > *)new npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::LinInterpolatedTable1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__LinInterpolatedTable1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DensityScan1D_Interpolated___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > *arg1 = (npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > *) 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] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DensityScan1D_Interpolated___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__LinInterpolatedTable1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityScan1D_Interpolated___call__" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > const *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > * >(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 '" "DensityScan1D_Interpolated___call__" "', 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 '" "DensityScan1D_Interpolated___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > const *)arg1)->operator ()((unsigned int 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_delete_DensityScan1D_Interpolated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > *arg1 = (npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > *) 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__DensityScan1DTransT_npstat__LinInterpolatedTable1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DensityScan1D_Interpolated" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::LinInterpolatedTable1D > * >(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 *DensityScan1D_Interpolated_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__LinInterpolatedTable1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DensityScan1D_Interpolated_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DensityScan1D_Funct(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::Functor1< double,double > *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] ;
npstat::DensityScan1DTrans< npstat::Functor1< double,double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DensityScan1D_Funct", 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 '" "new_DensityScan1D_Funct" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Funct" "', 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 '" "new_DensityScan1D_Funct" "', argument " "2"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Funct" "', argument " "2"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg2 = reinterpret_cast< npstat::Functor1< double,double > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DensityScan1D_Funct" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::DensityScan1DTrans< npstat::Functor1< double,double > > *)new npstat::DensityScan1DTrans< npstat::Functor1< double,double > >((npstat::AbsDistribution1D const &)*arg1,(npstat::Functor1< double,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__DensityScan1DTransT_npstat__Functor1T_double_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DensityScan1D_Funct___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::Functor1< double,double > > *arg1 = (npstat::DensityScan1DTrans< npstat::Functor1< double,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] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DensityScan1D_Funct___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__Functor1T_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityScan1D_Funct___call__" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::Functor1< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::Functor1< double,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 '" "DensityScan1D_Funct___call__" "', 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 '" "DensityScan1D_Funct___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::DensityScan1DTrans< npstat::Functor1< double,double > > const *)arg1)->operator ()((unsigned int 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_delete_DensityScan1D_Funct(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::Functor1< double,double > > *arg1 = (npstat::DensityScan1DTrans< npstat::Functor1< 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__DensityScan1DTransT_npstat__Functor1T_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DensityScan1D_Funct" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::Functor1< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::Functor1< 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 *DensityScan1D_Funct_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__Functor1T_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DensityScan1D_Funct_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DensityScan1D_Fcn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::FcnFunctor1< double,double > *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] ;
npstat::DensityScan1DTrans< npstat::FcnFunctor1< double,double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DensityScan1D_Fcn", 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 '" "new_DensityScan1D_Fcn" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Fcn" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__FcnFunctor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DensityScan1D_Fcn" "', argument " "2"" of type '" "npstat::FcnFunctor1< double,double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityScan1D_Fcn" "', argument " "2"" of type '" "npstat::FcnFunctor1< double,double > const &""'");
}
arg2 = reinterpret_cast< npstat::FcnFunctor1< double,double > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DensityScan1D_Fcn" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::DensityScan1DTrans< npstat::FcnFunctor1< double,double > > *)new npstat::DensityScan1DTrans< npstat::FcnFunctor1< double,double > >((npstat::AbsDistribution1D const &)*arg1,(npstat::FcnFunctor1< double,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__DensityScan1DTransT_npstat__FcnFunctor1T_double_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DensityScan1D_Fcn___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::FcnFunctor1< double,double > > *arg1 = (npstat::DensityScan1DTrans< npstat::FcnFunctor1< double,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] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DensityScan1D_Fcn___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__FcnFunctor1T_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityScan1D_Fcn___call__" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::FcnFunctor1< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::FcnFunctor1< double,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 '" "DensityScan1D_Fcn___call__" "', 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 '" "DensityScan1D_Fcn___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::DensityScan1DTrans< npstat::FcnFunctor1< double,double > > const *)arg1)->operator ()((unsigned int 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_delete_DensityScan1D_Fcn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityScan1DTrans< npstat::FcnFunctor1< double,double > > *arg1 = (npstat::DensityScan1DTrans< npstat::FcnFunctor1< 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__DensityScan1DTransT_npstat__FcnFunctor1T_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DensityScan1D_Fcn" "', argument " "1"" of type '" "npstat::DensityScan1DTrans< npstat::FcnFunctor1< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::DensityScan1DTrans< npstat::FcnFunctor1< 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 *DensityScan1D_Fcn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DensityScan1DTransT_npstat__FcnFunctor1T_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DensityScan1D_Fcn_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_InterpolatedDistro1D1P__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
npstat::InterpolatedDistro1D1P *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_InterpolatedDistro1D1P" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_InterpolatedDistro1D1P" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_InterpolatedDistro1D1P" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
result = (npstat::InterpolatedDistro1D1P *)new npstat::InterpolatedDistro1D1P((npstat::GridAxis const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1D1P, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_InterpolatedDistro1D1P__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::InterpolatedDistro1D1P *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_InterpolatedDistro1D1P" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_InterpolatedDistro1D1P" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
{
try {
result = (npstat::InterpolatedDistro1D1P *)new npstat::InterpolatedDistro1D1P((npstat::GridAxis const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1D1P, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_InterpolatedDistro1D1P(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 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__InterpolatedDistro1D1P, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_InterpolatedDistro1D1P" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(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_InterpolatedDistro1D1P__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::InterpolatedDistro1D1P *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_InterpolatedDistro1D1P" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_InterpolatedDistro1D1P" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const &""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
{
try {
result = (npstat::InterpolatedDistro1D1P *)new npstat::InterpolatedDistro1D1P((npstat::InterpolatedDistro1D1P const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1D1P, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_InterpolatedDistro1D1P(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_InterpolatedDistro1D1P", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_InterpolatedDistro1D1P__SWIG_1(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__InterpolatedDistro1D1P, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_InterpolatedDistro1D1P__SWIG_2(self, argc, argv);
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_InterpolatedDistro1D1P__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_InterpolatedDistro1D1P'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::InterpolatedDistro1D1P::InterpolatedDistro1D1P(npstat::GridAxis const &,bool)\n"
" npstat::InterpolatedDistro1D1P::InterpolatedDistro1D1P(npstat::GridAxis const &)\n"
" npstat::InterpolatedDistro1D1P::InterpolatedDistro1D1P(npstat::InterpolatedDistro1D1P const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistro1D1P_setGridDistro(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 0 ;
unsigned int arg2 ;
npstat::AbsDistribution1D *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistro1D1P_setGridDistro", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_setGridDistro" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistro1D1P_setGridDistro" "', 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 '" "InterpolatedDistro1D1P_setGridDistro" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InterpolatedDistro1D1P_setGridDistro" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
{
try {
(arg1)->setGridDistro(arg2,(npstat::AbsDistribution1D 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_InterpolatedDistro1D1P_setParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistro1D1P_setParameter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_setParameter" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistro1D1P_setParameter" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setParameter(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistro1D1P_getParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 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__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_getParameter" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
{
try {
result = (double)((npstat::InterpolatedDistro1D1P const *)arg1)->getParameter();
} 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_InterpolatedDistro1D1P_getAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::GridAxis *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_getAxis" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
{
try {
result = (npstat::GridAxis *) &((npstat::InterpolatedDistro1D1P const *)arg1)->getAxis();
} 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_InterpolatedDistro1D1P_nDistros(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 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__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_nDistros" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
{
try {
result = (unsigned int)((npstat::InterpolatedDistro1D1P const *)arg1)->nDistros();
} 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_InterpolatedDistro1D1P_interpolateVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistro1D1P_interpolateVertically", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_interpolateVertically" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistro1D1P_interpolateVertically" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->interpolateVertically(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistro1D1P_interpolatingVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 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__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_interpolatingVertically" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
{
try {
result = (bool)((npstat::InterpolatedDistro1D1P const *)arg1)->interpolatingVertically();
} 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_InterpolatedDistro1D1P_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::InterpolatedDistro1D1P *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_clone" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
{
try {
result = (npstat::InterpolatedDistro1D1P *)((npstat::InterpolatedDistro1D1P const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1D1P, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistro1D1P_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 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, "InterpolatedDistro1D1P_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_density" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistro1D1P_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::InterpolatedDistro1D1P 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_InterpolatedDistro1D1P_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 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, "InterpolatedDistro1D1P_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_cdf" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistro1D1P_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::InterpolatedDistro1D1P 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_InterpolatedDistro1D1P_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 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, "InterpolatedDistro1D1P_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_exceedance" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistro1D1P_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::InterpolatedDistro1D1P 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_InterpolatedDistro1D1P_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 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, "InterpolatedDistro1D1P_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_quantile" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistro1D1P_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::InterpolatedDistro1D1P 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_InterpolatedDistro1D1P_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 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__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_classId" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
{
try {
result = ((npstat::InterpolatedDistro1D1P 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_InterpolatedDistro1D1P_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *arg1 = (npstat::InterpolatedDistro1D1P *) 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, "InterpolatedDistro1D1P_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistro1D1P_write" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(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 '" "InterpolatedDistro1D1P_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InterpolatedDistro1D1P_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::InterpolatedDistro1D1P 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_InterpolatedDistro1D1P_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistro1D1P_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::InterpolatedDistro1D1P::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_InterpolatedDistro1D1P_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistro1D1P_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::InterpolatedDistro1D1P::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_InterpolatedDistro1D1P_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::InterpolatedDistro1D1P *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistro1D1P_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 '" "InterpolatedDistro1D1P_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InterpolatedDistro1D1P_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 '" "InterpolatedDistro1D1P_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InterpolatedDistro1D1P_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::InterpolatedDistro1D1P *)npstat::InterpolatedDistro1D1P::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__InterpolatedDistro1D1P, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *InterpolatedDistro1D1P_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__InterpolatedDistro1D1P, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *InterpolatedDistro1D1P_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_InterpolatedDistro1D1P(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *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::InterpolatedDistro1D1P > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_InterpolatedDistro1D1P", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_InterpolatedDistro1D1P" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_InterpolatedDistro1D1P" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const &""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_InterpolatedDistro1D1P" "', 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_InterpolatedDistro1D1P" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::InterpolatedDistro1D1P > *)new gs::ArchiveRecord< npstat::InterpolatedDistro1D1P >((npstat::InterpolatedDistro1D1P 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__InterpolatedDistro1D1P_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_InterpolatedDistro1D1P(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::InterpolatedDistro1D1P > *arg1 = (gs::ArchiveRecord< npstat::InterpolatedDistro1D1P > *) 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__InterpolatedDistro1D1P_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_InterpolatedDistro1D1P" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::InterpolatedDistro1D1P > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::InterpolatedDistro1D1P > * >(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_InterpolatedDistro1D1P_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__InterpolatedDistro1D1P_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_InterpolatedDistro1D1P_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_134(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::InterpolatedDistro1D1P *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::InterpolatedDistro1D1P > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::InterpolatedDistro1D1P const &""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(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::InterpolatedDistro1D1P >((npstat::InterpolatedDistro1D1P 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::InterpolatedDistro1D1P >(static_cast< const gs::ArchiveRecord< npstat::InterpolatedDistro1D1P >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__InterpolatedDistro1D1P_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_InterpolatedDistro1D1P__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::InterpolatedDistro1D1P > *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_InterpolatedDistro1D1P" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_InterpolatedDistro1D1P" "', 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_InterpolatedDistro1D1P" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::InterpolatedDistro1D1P > *)new gs::Reference< npstat::InterpolatedDistro1D1P >(*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__InterpolatedDistro1D1P_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_InterpolatedDistro1D1P__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::InterpolatedDistro1D1P > *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_InterpolatedDistro1D1P" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_InterpolatedDistro1D1P" "', 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_InterpolatedDistro1D1P" "', 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_InterpolatedDistro1D1P" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::InterpolatedDistro1D1P > *)new gs::Reference< npstat::InterpolatedDistro1D1P >(*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__InterpolatedDistro1D1P_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_InterpolatedDistro1D1P__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::InterpolatedDistro1D1P > *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_InterpolatedDistro1D1P" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_InterpolatedDistro1D1P" "', 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_InterpolatedDistro1D1P" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_InterpolatedDistro1D1P" "', 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_InterpolatedDistro1D1P" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_InterpolatedDistro1D1P" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::InterpolatedDistro1D1P > *)new gs::Reference< npstat::InterpolatedDistro1D1P >(*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__InterpolatedDistro1D1P_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_InterpolatedDistro1D1P(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_InterpolatedDistro1D1P", 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_InterpolatedDistro1D1P__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_InterpolatedDistro1D1P__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_InterpolatedDistro1D1P__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_InterpolatedDistro1D1P'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::InterpolatedDistro1D1P >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::InterpolatedDistro1D1P >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::InterpolatedDistro1D1P >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_InterpolatedDistro1D1P_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::InterpolatedDistro1D1P > *arg1 = (gs::Reference< npstat::InterpolatedDistro1D1P > *) 0 ;
unsigned long arg2 ;
npstat::InterpolatedDistro1D1P *arg3 = (npstat::InterpolatedDistro1D1P *) 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_InterpolatedDistro1D1P_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__InterpolatedDistro1D1P_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_InterpolatedDistro1D1P_restore" "', argument " "1"" of type '" "gs::Reference< npstat::InterpolatedDistro1D1P > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::InterpolatedDistro1D1P > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_InterpolatedDistro1D1P_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__InterpolatedDistro1D1P, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_InterpolatedDistro1D1P_restore" "', argument " "3"" of type '" "npstat::InterpolatedDistro1D1P *""'");
}
arg3 = reinterpret_cast< npstat::InterpolatedDistro1D1P * >(argp3);
{
try {
((gs::Reference< npstat::InterpolatedDistro1D1P > 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_InterpolatedDistro1D1P_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::InterpolatedDistro1D1P > *arg1 = (gs::Reference< npstat::InterpolatedDistro1D1P > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::InterpolatedDistro1D1P *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_InterpolatedDistro1D1P_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__InterpolatedDistro1D1P_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_InterpolatedDistro1D1P_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::InterpolatedDistro1D1P > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::InterpolatedDistro1D1P > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_InterpolatedDistro1D1P_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::InterpolatedDistro1D1P *)gs_Reference_Sl_npstat_InterpolatedDistro1D1P_Sg__retrieve((gs::Reference< npstat::InterpolatedDistro1D1P > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1D1P, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_InterpolatedDistro1D1P_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::InterpolatedDistro1D1P > *arg1 = (gs::Reference< npstat::InterpolatedDistro1D1P > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::InterpolatedDistro1D1P > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_InterpolatedDistro1D1P_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__InterpolatedDistro1D1P_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_InterpolatedDistro1D1P_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::InterpolatedDistro1D1P > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::InterpolatedDistro1D1P > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_InterpolatedDistro1D1P_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_InterpolatedDistro1D1P_Sg__getValue((gs::Reference< npstat::InterpolatedDistro1D1P > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::InterpolatedDistro1D1P(static_cast< const npstat::InterpolatedDistro1D1P& >(result))), SWIGTYPE_p_npstat__InterpolatedDistro1D1P, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_InterpolatedDistro1D1P(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::InterpolatedDistro1D1P > *arg1 = (gs::Reference< npstat::InterpolatedDistro1D1P > *) 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__InterpolatedDistro1D1P_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_InterpolatedDistro1D1P" "', argument " "1"" of type '" "gs::Reference< npstat::InterpolatedDistro1D1P > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::InterpolatedDistro1D1P > * >(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_InterpolatedDistro1D1P_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__InterpolatedDistro1D1P_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_InterpolatedDistro1D1P_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DVariableDegreeCVRunner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinInterpolatedTable1D *arg1 = 0 ;
double arg2 ;
unsigned int arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
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 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[7] ;
npstat::LOrPE1DVariableDegreeCVRunner *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LOrPE1DVariableDegreeCVRunner", 7, 7, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LinInterpolatedTable1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LOrPE1DVariableDegreeCVRunner" "', argument " "1"" of type '" "npstat::LinInterpolatedTable1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPE1DVariableDegreeCVRunner" "', argument " "1"" of type '" "npstat::LinInterpolatedTable1D const &""'");
}
arg1 = reinterpret_cast< npstat::LinInterpolatedTable1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LOrPE1DVariableDegreeCVRunner" "', 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_LOrPE1DVariableDegreeCVRunner" "', 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_LOrPE1DVariableDegreeCVRunner" "', 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 '" "new_LOrPE1DVariableDegreeCVRunner" "', 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_LOrPE1DVariableDegreeCVRunner" "', 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_LOrPE1DVariableDegreeCVRunner" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (npstat::LOrPE1DVariableDegreeCVRunner *)new npstat::LOrPE1DVariableDegreeCVRunner((npstat::LinInterpolatedTable1D const &)*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__LOrPE1DVariableDegreeCVRunner, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LOrPE1DVariableDegreeCVRunner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DVariableDegreeCVRunner *arg1 = (npstat::LOrPE1DVariableDegreeCVRunner *) 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__LOrPE1DVariableDegreeCVRunner, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LOrPE1DVariableDegreeCVRunner" "', argument " "1"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVRunner * >(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 *LOrPE1DVariableDegreeCVRunner_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LOrPE1DVariableDegreeCVRunner_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DVariableDegreeCVPicker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
std::vector< double,std::allocator< double > > *arg2 = 0 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
std::vector< double,std::allocator< double > > *arg4 = 0 ;
unsigned int arg5 ;
unsigned int arg6 ;
double arg7 ;
unsigned int arg8 ;
double val1 ;
int ecode1 = 0 ;
int res2 = SWIG_OLDOBJ ;
int res3 = SWIG_OLDOBJ ;
int res4 = SWIG_OLDOBJ ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
PyObject *swig_obj[8] ;
npstat::LOrPE1DVariableDegreeCVPicker *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LOrPE1DVariableDegreeCVPicker", 8, 8, 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_LOrPE1DVariableDegreeCVPicker" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
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 '" "new_LOrPE1DVariableDegreeCVPicker" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPE1DVariableDegreeCVPicker" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg2 = ptr;
}
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_LOrPE1DVariableDegreeCVPicker" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPE1DVariableDegreeCVPicker" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res4 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_LOrPE1DVariableDegreeCVPicker" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPE1DVariableDegreeCVPicker" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg4 = ptr;
}
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LOrPE1DVariableDegreeCVPicker" "', 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_LOrPE1DVariableDegreeCVPicker" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_LOrPE1DVariableDegreeCVPicker" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_LOrPE1DVariableDegreeCVPicker" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (npstat::LOrPE1DVariableDegreeCVPicker *)new npstat::LOrPE1DVariableDegreeCVPicker(arg1,(std::vector< double,std::allocator< double > > const &)*arg2,(std::vector< double,std::allocator< double > > const &)*arg3,(std::vector< double,std::allocator< double > > const &)*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__LOrPE1DVariableDegreeCVPicker, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
if (SWIG_IsNewObj(res3)) delete arg3;
if (SWIG_IsNewObj(res4)) delete arg4;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LOrPE1DVariableDegreeCVPicker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DVariableDegreeCVPicker *arg1 = (npstat::LOrPE1DVariableDegreeCVPicker *) 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__LOrPE1DVariableDegreeCVPicker, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LOrPE1DVariableDegreeCVPicker" "', argument " "1"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVPicker * >(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 *LOrPE1DVariableDegreeCVPicker_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LOrPE1DVariableDegreeCVPicker_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleLOrPE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = 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 ;
npstat::LOrPE1D< double > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) 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_DoubleLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(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_DoubleLOrPE1D" "', argument " "2"" of type '" "double const *""'");
}
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 '" "new_DoubleLOrPE1D" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (npstat::LOrPE1D< double > *)new npstat::LOrPE1D< double >((npstat::LOrPE1DSymbetaKernel 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__LOrPE1DT_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleLOrPE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = 0 ;
std::vector< double,std::allocator< double > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
npstat::LOrPE1D< double > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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_DoubleLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(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 '" "new_DoubleLOrPE1D" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleLOrPE1D" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::LOrPE1D< double > *)new npstat::LOrPE1D< double >((npstat::LOrPE1DSymbetaKernel const &)*arg1,(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__LOrPE1DT_double_t, 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_DoubleLOrPE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleLOrPE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, SWIG_POINTER_NO_NULL | 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_DoubleLOrPE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, SWIG_POINTER_NO_NULL | 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_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleLOrPE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleLOrPE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< double >::LOrPE1D(npstat::LOrPE1DSymbetaKernel const &,double const *,unsigned long const)\n"
" npstat::LOrPE1D< double >::LOrPE1D(npstat::LOrPE1DSymbetaKernel const &,std::vector< double,std::allocator< double > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleLOrPE1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< 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__LOrPE1DT_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< 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_DoubleLOrPE1D_setNormFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleLOrPE1D_setNormFactor", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_setNormFactor" "', argument " "1"" of type '" "npstat::LOrPE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_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_DoubleLOrPE1D_setSample__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 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 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_setSample" "', argument " "1"" of type '" "npstat::LOrPE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< 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 '" "DoubleLOrPE1D_setSample" "', argument " "2"" of type '" "double const *""'");
}
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 '" "DoubleLOrPE1D_setSample" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
(arg1)->setSample((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_DoubleLOrPE1D_setSample__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
std::vector< double,std::allocator< double > > *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__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_setSample" "', argument " "1"" of type '" "npstat::LOrPE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(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 '" "DoubleLOrPE1D_setSample" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleLOrPE1D_setSample" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setSample((std::vector< double,std::allocator< double > > 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_DoubleLOrPE1D_setSample(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleLOrPE1D_setSample", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_double_t, 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_DoubleLOrPE1D_setSample__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_double_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_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleLOrPE1D_setSample__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleLOrPE1D_setSample'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< double >::setSample(double const *,unsigned long const)\n"
" npstat::LOrPE1D< double >::setSample(std::vector< double,std::allocator< double > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleLOrPE1D_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleLOrPE1D_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< 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)->setWeights((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_DoubleLOrPE1D_normalizingLOrPEEstimate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< 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__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_normalizingLOrPEEstimate" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1D< double > const *)arg1)->normalizingLOrPEEstimate();
} 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_DoubleLOrPE1D_kernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LOrPE1DSymbetaKernel *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_kernel" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
{
try {
result = (npstat::LOrPE1DSymbetaKernel *) &((npstat::LOrPE1D< double > const *)arg1)->kernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleLOrPE1D_normFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< 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__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_normFactor" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1D< double > 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_DoubleLOrPE1D_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< 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_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_coords" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
{
try {
result = (std::vector< double,std::allocator< double > > *) &((npstat::LOrPE1D< double > const *)arg1)->coords();
} 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_DoubleLOrPE1D_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< 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__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_nCoords" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
{
try {
result = (unsigned long)((npstat::LOrPE1D< double > const *)arg1)->nCoords();
} 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_DoubleLOrPE1D_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< 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__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_minCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->minCoordinate();
} 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_DoubleLOrPE1D_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< 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__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_maxCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->maxCoordinate();
} 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_DoubleLOrPE1D_totalSampleWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< 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__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_totalSampleWeight" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->totalSampleWeight();
} 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_DoubleLOrPE1D_effectiveSampleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< 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__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_effectiveSampleSize" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->effectiveSampleSize();
} 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_DoubleLOrPE1D_pointCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 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, "DoubleLOrPE1D_pointCoordinate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_pointCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_pointCoordinate" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->pointCoordinate(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_DoubleLOrPE1D_pointWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 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, "DoubleLOrPE1D_pointWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_pointWeight" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_pointWeight" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->pointWeight(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_DoubleLOrPE1D_bandwidthCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 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, "DoubleLOrPE1D_bandwidthCurve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_bandwidthCurve" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_bandwidthCurve" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->bandwidthCurve(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_DoubleLOrPE1D_cvLocalizingWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 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, "DoubleLOrPE1D_cvLocalizingWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_cvLocalizingWeight" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_cvLocalizingWeight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->cvLocalizingWeight(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_DoubleLOrPE1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 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, "DoubleLOrPE1D_density", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_density" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_density" "', 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 '" "DoubleLOrPE1D_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->density(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_DoubleLOrPE1D___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
npstat::LOrPE1D< 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, "DoubleLOrPE1D___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D___eq__" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleLOrPE1D___eq__" "', argument " "2"" of type '" "npstat::LOrPE1D< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleLOrPE1D___eq__" "', argument " "2"" of type '" "npstat::LOrPE1D< double > const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp2);
{
try {
result = (bool)((npstat::LOrPE1D< double > const *)arg1)->operator ==((npstat::LOrPE1D< 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_DoubleLOrPE1D___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
npstat::LOrPE1D< 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, "DoubleLOrPE1D___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D___ne__" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleLOrPE1D___ne__" "', argument " "2"" of type '" "npstat::LOrPE1D< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleLOrPE1D___ne__" "', argument " "2"" of type '" "npstat::LOrPE1D< double > const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp2);
{
try {
result = (bool)((npstat::LOrPE1D< double > const *)arg1)->operator !=((npstat::LOrPE1D< 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_DoubleLOrPE1D_cvCapable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleLOrPE1D_cvCapable", 0, 0, 0)) SWIG_fail;
{
try {
result = (bool)npstat::LOrPE1D< double >::SWIGTEMPLATEDISAMBIGUATOR cvCapable();
} 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_DoubleLOrPE1D_densityFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
SwigValueWrapper< npstat::Functor1RefHelper< double,double > > arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(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 '" "DoubleLOrPE1D_densityFunctor" "', argument " "2"" of type '" "npstat::Functor1RefHelper< double,double >""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleLOrPE1D_densityFunctor" "', 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;
}
}
{
try {
result = ((npstat::LOrPE1D< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR densityFunctor< npstat::Functor1RefHelper< double,double > >(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleLOrPE1D_densityFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DFunctorHelper< double,double > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1D< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR densityFunctor< double >(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DFunctorHelper< double,double >(static_cast< const npstat::LOrPE1DFunctorHelper< double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_double_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleLOrPE1D_densityFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleLOrPE1D_densityFunctor", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleLOrPE1D_densityFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_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_DoubleLOrPE1D_densityFunctor__SWIG_2(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleLOrPE1D_densityFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< double >::densityFunctor< npstat::Functor1RefHelper< double,double > >(npstat::Functor1RefHelper< double,double >) const\n"
" npstat::LOrPE1D< double >::densityFunctor< double >(double) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleLOrPE1D_densityIntegral__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
SwigValueWrapper< npstat::Functor1RefHelper< double,double > > arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 ;
int res4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_densityIntegral" "', 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 '" "DoubleLOrPE1D_densityIntegral" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleLOrPE1D_densityIntegral" "', argument " "4"" of type '" "npstat::Functor1RefHelper< double,double >""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleLOrPE1D_densityIntegral" "', argument " "4"" of type '" "npstat::Functor1RefHelper< double,double >""'");
} else {
npstat::Functor1RefHelper< double,double > * temp = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp4);
arg4 = *temp;
if (SWIG_IsNewObj(res4)) delete temp;
}
}
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR densityIntegral< npstat::Functor1RefHelper< double,double > >(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_DoubleLOrPE1D_densityIntegral__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_densityIntegral" "', 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 '" "DoubleLOrPE1D_densityIntegral" "', 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 '" "DoubleLOrPE1D_densityIntegral" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR densityIntegral< double >(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_DoubleLOrPE1D_densityIntegral(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleLOrPE1D_densityIntegral", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_double_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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleLOrPE1D_densityIntegral__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_double_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_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleLOrPE1D_densityIntegral__SWIG_2(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleLOrPE1D_densityIntegral'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< double >::densityIntegral< npstat::Functor1RefHelper< double,double > >(unsigned int,unsigned int,npstat::Functor1RefHelper< double,double >) const\n"
" npstat::LOrPE1D< double >::densityIntegral< double >(unsigned int,unsigned int,double) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleLOrPE1D_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
SwigValueWrapper< npstat::Functor1RefHelper< double,double > > 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 ;
void *argp5 ;
int res5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(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 '" "DoubleLOrPE1D_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleLOrPE1D_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 '" "DoubleLOrPE1D_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 '" "DoubleLOrPE1D_integratedSquaredError" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleLOrPE1D_integratedSquaredError" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double >""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleLOrPE1D_integratedSquaredError" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double >""'");
} else {
npstat::Functor1RefHelper< double,double > * temp = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
arg5 = *temp;
if (SWIG_IsNewObj(res5)) delete temp;
}
}
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR integratedSquaredError< npstat::Functor1RefHelper< double,double > >((npstat::AbsDistribution1D 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_DoubleLOrPE1D_integratedSquaredError__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
double 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 ;
double val5 ;
int ecode5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(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 '" "DoubleLOrPE1D_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleLOrPE1D_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 '" "DoubleLOrPE1D_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 '" "DoubleLOrPE1D_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 '" "DoubleLOrPE1D_integratedSquaredError" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (double)((npstat::LOrPE1D< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR integratedSquaredError< double >((npstat::AbsDistribution1D 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_DoubleLOrPE1D_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleLOrPE1D_integratedSquaredError", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_double_t, 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_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleLOrPE1D_integratedSquaredError__SWIG_1(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_double_t, 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) {
return _wrap_DoubleLOrPE1D_integratedSquaredError__SWIG_2(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleLOrPE1D_integratedSquaredError'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< double >::integratedSquaredError< npstat::Functor1RefHelper< double,double > >(npstat::AbsDistribution1D const &,unsigned int const,unsigned int const,npstat::Functor1RefHelper< double,double >) const\n"
" npstat::LOrPE1D< double >::integratedSquaredError< double >(npstat::AbsDistribution1D const &,unsigned int const,unsigned int const,double) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleLOrPE1D_normalizeDensityEstimate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
SwigValueWrapper< npstat::Functor1RefHelper< double,double > > arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 ;
int res4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_normalizeDensityEstimate" "', argument " "1"" of type '" "npstat::LOrPE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_normalizeDensityEstimate" "', 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 '" "DoubleLOrPE1D_normalizeDensityEstimate" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleLOrPE1D_normalizeDensityEstimate" "', argument " "4"" of type '" "npstat::Functor1RefHelper< double,double >""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleLOrPE1D_normalizeDensityEstimate" "', argument " "4"" of type '" "npstat::Functor1RefHelper< double,double >""'");
} else {
npstat::Functor1RefHelper< double,double > * temp = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp4);
arg4 = *temp;
if (SWIG_IsNewObj(res4)) delete temp;
}
}
{
try {
result = (double)(arg1)->SWIGTEMPLATEDISAMBIGUATOR normalizeDensityEstimate< npstat::Functor1RefHelper< double,double > >(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_DoubleLOrPE1D_normalizeDensityEstimate__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< double > *arg1 = (npstat::LOrPE1D< double > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleLOrPE1D_normalizeDensityEstimate" "', argument " "1"" of type '" "npstat::LOrPE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleLOrPE1D_normalizeDensityEstimate" "', 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 '" "DoubleLOrPE1D_normalizeDensityEstimate" "', 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 '" "DoubleLOrPE1D_normalizeDensityEstimate" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)(arg1)->SWIGTEMPLATEDISAMBIGUATOR normalizeDensityEstimate< double >(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_DoubleLOrPE1D_normalizeDensityEstimate(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleLOrPE1D_normalizeDensityEstimate", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_double_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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleLOrPE1D_normalizeDensityEstimate__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_double_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_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleLOrPE1D_normalizeDensityEstimate__SWIG_2(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleLOrPE1D_normalizeDensityEstimate'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< double >::normalizeDensityEstimate< npstat::Functor1RefHelper< double,double > >(unsigned int,unsigned int,npstat::Functor1RefHelper< double,double >)\n"
" npstat::LOrPE1D< double >::normalizeDensityEstimate< double >(unsigned int,unsigned int,double)\n");
return 0;
}
SWIGINTERN PyObject *DoubleLOrPE1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DT_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleLOrPE1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePairLOrPE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = 0 ;
std::pair< double,double > *arg2 = (std::pair< double,double > *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
npstat::LOrPE1D< std::pair< double,double > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) 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_DoubleDoublePairLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePairLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__pairT_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleDoublePairLOrPE1D" "', argument " "2"" of type '" "std::pair< double,double > const *""'");
}
arg2 = reinterpret_cast< std::pair< double,double > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleDoublePairLOrPE1D" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (npstat::LOrPE1D< std::pair< double,double > > *)new npstat::LOrPE1D< std::pair< double,double > >((npstat::LOrPE1DSymbetaKernel const &)*arg1,(std::pair< double,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__LOrPE1DT_std__pairT_double_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePairLOrPE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = 0 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
npstat::LOrPE1D< std::pair< double,double > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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_DoubleDoublePairLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePairLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
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;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleDoublePairLOrPE1D" "', argument " "2"" 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 '" "new_DoubleDoublePairLOrPE1D" "', argument " "2"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::LOrPE1D< std::pair< double,double > > *)new npstat::LOrPE1D< std::pair< double,double > >((npstat::LOrPE1DSymbetaKernel const &)*arg1,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 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_DoubleDoublePairLOrPE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleDoublePairLOrPE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleDoublePairLOrPE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::pair< double,double >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleDoublePairLOrPE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleDoublePairLOrPE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< std::pair< double,double > >::LOrPE1D(npstat::LOrPE1DSymbetaKernel const &,std::pair< double,double > const *,unsigned long const)\n"
" npstat::LOrPE1D< std::pair< double,double > >::LOrPE1D(npstat::LOrPE1DSymbetaKernel const &,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePairLOrPE1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< 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__LOrPE1DT_std__pairT_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePairLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< 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_DoubleDoublePairLOrPE1D_setNormFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePairLOrPE1D_setNormFactor", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_setNormFactor" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_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_DoubleDoublePairLOrPE1D_setSample__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
std::pair< double,double > *arg2 = (std::pair< double,double > *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_setSample" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__pairT_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleDoublePairLOrPE1D_setSample" "', argument " "2"" of type '" "std::pair< double,double > const *""'");
}
arg2 = reinterpret_cast< std::pair< double,double > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleDoublePairLOrPE1D_setSample" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
(arg1)->setSample((std::pair< double,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_DoubleDoublePairLOrPE1D_setSample__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *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__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_setSample" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
{
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;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleDoublePairLOrPE1D_setSample" "', argument " "2"" 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 '" "DoubleDoublePairLOrPE1D_setSample" "', argument " "2"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setSample((std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > 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_DoubleDoublePairLOrPE1D_setSample(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePairLOrPE1D_setSample", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleDoublePairLOrPE1D_setSample__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::pair< double,double >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePairLOrPE1D_setSample__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePairLOrPE1D_setSample'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< std::pair< double,double > >::setSample(std::pair< double,double > const *,unsigned long const)\n"
" npstat::LOrPE1D< std::pair< double,double > >::setSample(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePairLOrPE1D_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePairLOrPE1D_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,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)->setWeights((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_DoubleDoublePairLOrPE1D_normalizingLOrPEEstimate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,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__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_normalizingLOrPEEstimate" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->normalizingLOrPEEstimate();
} 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_DoubleDoublePairLOrPE1D_kernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LOrPE1DSymbetaKernel *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_kernel" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
{
try {
result = (npstat::LOrPE1DSymbetaKernel *) &((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->kernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePairLOrPE1D_normFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,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__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_normFactor" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > 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_DoubleDoublePairLOrPE1D_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_coords" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
{
try {
result = (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *) &((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->coords();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePairLOrPE1D_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,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__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_nCoords" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->nCoords();
} 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_DoubleDoublePairLOrPE1D_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 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__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_minCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->minCoordinate();
} 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_DoubleDoublePairLOrPE1D_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 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__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_maxCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->maxCoordinate();
} 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_DoubleDoublePairLOrPE1D_totalSampleWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,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__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_totalSampleWeight" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->totalSampleWeight();
} 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_DoubleDoublePairLOrPE1D_effectiveSampleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,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__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_effectiveSampleSize" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->effectiveSampleSize();
} 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_DoubleDoublePairLOrPE1D_pointCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 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, "DoubleDoublePairLOrPE1D_pointCoordinate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_pointCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_pointCoordinate" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->pointCoordinate(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_DoubleDoublePairLOrPE1D_pointWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 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, "DoubleDoublePairLOrPE1D_pointWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_pointWeight" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_pointWeight" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->pointWeight(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_DoubleDoublePairLOrPE1D_bandwidthCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 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, "DoubleDoublePairLOrPE1D_bandwidthCurve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_bandwidthCurve" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_bandwidthCurve" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->bandwidthCurve(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_DoubleDoublePairLOrPE1D_cvLocalizingWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 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, "DoubleDoublePairLOrPE1D_cvLocalizingWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_cvLocalizingWeight" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_cvLocalizingWeight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->cvLocalizingWeight(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_DoubleDoublePairLOrPE1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 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, "DoubleDoublePairLOrPE1D_density", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_density" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_density" "', 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 '" "DoubleDoublePairLOrPE1D_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->density(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_DoubleDoublePairLOrPE1D___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
npstat::LOrPE1D< std::pair< double,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, "DoubleDoublePairLOrPE1D___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D___eq__" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleDoublePairLOrPE1D___eq__" "', argument " "2"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePairLOrPE1D___eq__" "', argument " "2"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp2);
{
try {
result = (bool)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->operator ==((npstat::LOrPE1D< std::pair< double,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_DoubleDoublePairLOrPE1D___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
npstat::LOrPE1D< std::pair< double,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, "DoubleDoublePairLOrPE1D___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D___ne__" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleDoublePairLOrPE1D___ne__" "', argument " "2"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePairLOrPE1D___ne__" "', argument " "2"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp2);
{
try {
result = (bool)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->operator !=((npstat::LOrPE1D< std::pair< double,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_DoubleDoublePairLOrPE1D_cvCapable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePairLOrPE1D_cvCapable", 0, 0, 0)) SWIG_fail;
{
try {
result = (bool)npstat::LOrPE1D< std::pair< double,double > >::SWIGTEMPLATEDISAMBIGUATOR cvCapable();
} 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_DoubleDoublePairLOrPE1D_densityFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
SwigValueWrapper< npstat::Functor1RefHelper< double,double > > arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(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 '" "DoubleDoublePairLOrPE1D_densityFunctor" "', argument " "2"" of type '" "npstat::Functor1RefHelper< double,double >""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePairLOrPE1D_densityFunctor" "', 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;
}
}
{
try {
result = ((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR densityFunctor< npstat::Functor1RefHelper< double,double > >(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePairLOrPE1D_densityFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR densityFunctor< double >(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double >(static_cast< const npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_std__pairT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePairLOrPE1D_densityFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePairLOrPE1D_densityFunctor", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleDoublePairLOrPE1D_densityFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePairLOrPE1D_densityFunctor__SWIG_2(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePairLOrPE1D_densityFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< std::pair< double,double > >::densityFunctor< npstat::Functor1RefHelper< double,double > >(npstat::Functor1RefHelper< double,double >) const\n"
" npstat::LOrPE1D< std::pair< double,double > >::densityFunctor< double >(double) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePairLOrPE1D_densityIntegral__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
SwigValueWrapper< npstat::Functor1RefHelper< double,double > > arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 ;
int res4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_densityIntegral" "', 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 '" "DoubleDoublePairLOrPE1D_densityIntegral" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleDoublePairLOrPE1D_densityIntegral" "', argument " "4"" of type '" "npstat::Functor1RefHelper< double,double >""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePairLOrPE1D_densityIntegral" "', argument " "4"" of type '" "npstat::Functor1RefHelper< double,double >""'");
} else {
npstat::Functor1RefHelper< double,double > * temp = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp4);
arg4 = *temp;
if (SWIG_IsNewObj(res4)) delete temp;
}
}
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR densityIntegral< npstat::Functor1RefHelper< double,double > >(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_DoubleDoublePairLOrPE1D_densityIntegral__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_densityIntegral" "', 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 '" "DoubleDoublePairLOrPE1D_densityIntegral" "', 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 '" "DoubleDoublePairLOrPE1D_densityIntegral" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR densityIntegral< double >(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_DoubleDoublePairLOrPE1D_densityIntegral(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePairLOrPE1D_densityIntegral", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleDoublePairLOrPE1D_densityIntegral__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_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_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePairLOrPE1D_densityIntegral__SWIG_2(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePairLOrPE1D_densityIntegral'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< std::pair< double,double > >::densityIntegral< npstat::Functor1RefHelper< double,double > >(unsigned int,unsigned int,npstat::Functor1RefHelper< double,double >) const\n"
" npstat::LOrPE1D< std::pair< double,double > >::densityIntegral< double >(unsigned int,unsigned int,double) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePairLOrPE1D_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
SwigValueWrapper< npstat::Functor1RefHelper< double,double > > 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 ;
void *argp5 ;
int res5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(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 '" "DoubleDoublePairLOrPE1D_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePairLOrPE1D_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 '" "DoubleDoublePairLOrPE1D_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 '" "DoubleDoublePairLOrPE1D_integratedSquaredError" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleDoublePairLOrPE1D_integratedSquaredError" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double >""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePairLOrPE1D_integratedSquaredError" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double >""'");
} else {
npstat::Functor1RefHelper< double,double > * temp = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
arg5 = *temp;
if (SWIG_IsNewObj(res5)) delete temp;
}
}
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR integratedSquaredError< npstat::Functor1RefHelper< double,double > >((npstat::AbsDistribution1D 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_DoubleDoublePairLOrPE1D_integratedSquaredError__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
double 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 ;
double val5 ;
int ecode5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(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 '" "DoubleDoublePairLOrPE1D_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePairLOrPE1D_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 '" "DoubleDoublePairLOrPE1D_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 '" "DoubleDoublePairLOrPE1D_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 '" "DoubleDoublePairLOrPE1D_integratedSquaredError" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (double)((npstat::LOrPE1D< std::pair< double,double > > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR integratedSquaredError< double >((npstat::AbsDistribution1D 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_DoubleDoublePairLOrPE1D_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePairLOrPE1D_integratedSquaredError", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 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_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleDoublePairLOrPE1D_integratedSquaredError__SWIG_1(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 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) {
return _wrap_DoubleDoublePairLOrPE1D_integratedSquaredError__SWIG_2(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePairLOrPE1D_integratedSquaredError'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< std::pair< double,double > >::integratedSquaredError< npstat::Functor1RefHelper< double,double > >(npstat::AbsDistribution1D const &,unsigned int const,unsigned int const,npstat::Functor1RefHelper< double,double >) const\n"
" npstat::LOrPE1D< std::pair< double,double > >::integratedSquaredError< double >(npstat::AbsDistribution1D const &,unsigned int const,unsigned int const,double) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePairLOrPE1D_normalizeDensityEstimate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
SwigValueWrapper< npstat::Functor1RefHelper< double,double > > arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 ;
int res4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_normalizeDensityEstimate" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_normalizeDensityEstimate" "', 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 '" "DoubleDoublePairLOrPE1D_normalizeDensityEstimate" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleDoublePairLOrPE1D_normalizeDensityEstimate" "', argument " "4"" of type '" "npstat::Functor1RefHelper< double,double >""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePairLOrPE1D_normalizeDensityEstimate" "', argument " "4"" of type '" "npstat::Functor1RefHelper< double,double >""'");
} else {
npstat::Functor1RefHelper< double,double > * temp = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp4);
arg4 = *temp;
if (SWIG_IsNewObj(res4)) delete temp;
}
}
{
try {
result = (double)(arg1)->SWIGTEMPLATEDISAMBIGUATOR normalizeDensityEstimate< npstat::Functor1RefHelper< double,double > >(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_DoubleDoublePairLOrPE1D_normalizeDensityEstimate__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1D< std::pair< double,double > > *arg1 = (npstat::LOrPE1D< std::pair< double,double > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairLOrPE1D_normalizeDensityEstimate" "', argument " "1"" of type '" "npstat::LOrPE1D< std::pair< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1D< std::pair< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairLOrPE1D_normalizeDensityEstimate" "', 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 '" "DoubleDoublePairLOrPE1D_normalizeDensityEstimate" "', 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 '" "DoubleDoublePairLOrPE1D_normalizeDensityEstimate" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)(arg1)->SWIGTEMPLATEDISAMBIGUATOR normalizeDensityEstimate< double >(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_DoubleDoublePairLOrPE1D_normalizeDensityEstimate(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePairLOrPE1D_normalizeDensityEstimate", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleDoublePairLOrPE1D_normalizeDensityEstimate__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_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_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePairLOrPE1D_normalizeDensityEstimate__SWIG_2(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePairLOrPE1D_normalizeDensityEstimate'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1D< std::pair< double,double > >::normalizeDensityEstimate< npstat::Functor1RefHelper< double,double > >(unsigned int,unsigned int,npstat::Functor1RefHelper< double,double >)\n"
" npstat::LOrPE1D< std::pair< double,double > >::normalizeDensityEstimate< double >(unsigned int,unsigned int,double)\n");
return 0;
}
SWIGINTERN PyObject *DoubleDoublePairLOrPE1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePairLOrPE1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_Double_Double_Double_LOrPE1DCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVFunctorHelperT_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_Double_Double_LOrPE1DCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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_Double_Double_Double_LOrPE1DCVFunctorHelper_bindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_bindFilterDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->bindFilterDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_unbindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_unbindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
(arg1)->unbindFilterDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_boundFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_boundFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->boundFilterDegree();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,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)->setWeights((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_Double_Double_Double_LOrPE1DCVFunctorHelper_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_symbetaPower" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (int)((npstat::LOrPE1DCVFunctorHelper< double,double,double > 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_Double_Double_Double_LOrPE1DCVFunctorHelper_leftBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_leftBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > 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_Double_Double_Double_LOrPE1DCVFunctorHelper_rightBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_rightBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > 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_Double_Double_Double_LOrPE1DCVFunctorHelper_bh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoundaryHandling result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_bh" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->bh();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::BoundaryHandling(static_cast< const npstat::BoundaryHandling& >(result))), SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_localizingWeightXmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_localizingWeightXmin" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->localizingWeightXmin();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_localizingWeighXmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_localizingWeighXmax" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->localizingWeighXmax();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_nIntegIntervals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_nIntegIntervals" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->nIntegIntervals();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_nIntegPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_nIntegPoints" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->nIntegPoints();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->normalizingLOrPEEstimate();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_coords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (std::vector< double,std::allocator< double > > *) &((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->coords();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_nCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->nCoords();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_minCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->minCoordinate();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_maxCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->maxCoordinate();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_totalSampleWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_totalSampleWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->totalSampleWeight();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_effectiveSampleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_effectiveSampleSize" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->effectiveSampleSize();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_isMemoizingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_isMemoizingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->isMemoizingKernels();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_isMemoizingNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_isMemoizingNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->isMemoizingNorms();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->isUsingMemoisingKernels();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_memoizeKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_memoizeKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_memoizeNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_memoizeNorms", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeNorms(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useMemoisingKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_clearMemoizedInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_clearMemoizedInfo" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(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_Double_Double_Double_LOrPE1DCVFunctorHelper_clearKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_clearKernel" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
(arg1)->clearKernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_pointCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 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, "Double_Double_Double_LOrPE1DCVFunctorHelper_pointCoordinate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->pointCoordinate(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_Double_Double_Double_LOrPE1DCVFunctorHelper_pointWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 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, "Double_Double_Double_LOrPE1DCVFunctorHelper_pointWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->pointWeight(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_Double_Double_Double_LOrPE1DCVFunctorHelper_bandwidthCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 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, "Double_Double_Double_LOrPE1DCVFunctorHelper_bandwidthCurve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->bandwidthCurve(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_Double_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 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, "Double_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->cvLocalizingWeight(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_Double_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->cvLocalizingWeightFunctor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > >(static_cast< const npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_density__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_density" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->density(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_Double_Double_Double_LOrPE1DCVFunctorHelper_density__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->density(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_Double_Double_Double_LOrPE1DCVFunctorHelper_density(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_density", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_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_Double_Double_Double_LOrPE1DCVFunctorHelper_density__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_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_Double_Double_Double_LOrPE1DCVFunctorHelper_density__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_Double_LOrPE1DCVFunctorHelper_density'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::density(double const,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::density(double const,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', 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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->densityFunctor(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->densityFunctor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_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_Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_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_Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::densityFunctor(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::densityFunctor(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< double > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', 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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->getLOrPE1D(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< double >(static_cast< const npstat::LOrPE1D< double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< double > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->getLOrPE1D(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< double >(static_cast< const npstat::LOrPE1D< double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_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_Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_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_Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::getLOrPE1D(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::getLOrPE1D(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,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 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper___call__" "', 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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->operator ()((double const &)*arg2,(double 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_Double_Double_Double_LOrPE1DCVFunctorHelper___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< 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 *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper___call__", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_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_Double_Double_Double_LOrPE1DCVFunctorHelper___call____SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_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_Double_Double_Double_LOrPE1DCVFunctorHelper___call____SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_Double_LOrPE1DCVFunctorHelper___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::operator ()(double const &,double const &) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::operator ()(double const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', 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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->densityIntegral(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_Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->densityIntegral(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_Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_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_Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_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_Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::densityIntegral(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::densityIntegral(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 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) {
return _wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::integratedSquaredError(npstat::AbsDistribution1D const &,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,double >::integratedSquaredError(npstat::AbsDistribution1D const &,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DCVFunctorHelper_cvCapable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
bool result;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DCVFunctorHelper_cvCapable", 0, 0, 0)) SWIG_fail;
{
try {
result = (bool)npstat::LOrPE1DCVFunctorHelper< double,double,double >::SWIGTEMPLATEDISAMBIGUATOR cvCapable();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_sortedCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_sortedCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->sortedCoords();
} 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_Double_Double_Double_LOrPE1DCVFunctorHelper_sortedCoordWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,double > *) 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__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVFunctorHelper_sortedCoordWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,double > const *)arg1)->sortedCoordWeights();
} 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 *Double_Double_Double_LOrPE1DCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_bindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_bindFilterDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->bindFilterDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_unbindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_unbindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
(arg1)->unbindFilterDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_boundFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_boundFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->boundFilterDegree();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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)->setWeights((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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_symbetaPower" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_leftBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_leftBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_rightBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_rightBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_bh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoundaryHandling result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_bh" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->bh();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::BoundaryHandling(static_cast< const npstat::BoundaryHandling& >(result))), SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_localizingWeightXmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_localizingWeightXmin" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->localizingWeightXmin();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_localizingWeighXmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_localizingWeighXmax" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->localizingWeighXmax();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_nIntegIntervals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_nIntegIntervals" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->nIntegIntervals();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_nIntegPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_nIntegPoints" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->nIntegPoints();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->normalizingLOrPEEstimate();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_coords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *) &((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->coords();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_nCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->nCoords();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_minCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->minCoordinate();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_maxCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->maxCoordinate();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_totalSampleWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_totalSampleWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->totalSampleWeight();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_effectiveSampleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_effectiveSampleSize" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->effectiveSampleSize();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_isMemoizingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_isMemoizingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->isMemoizingKernels();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_isMemoizingNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_isMemoizingNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->isMemoizingNorms();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->isUsingMemoisingKernels();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_memoizeKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_memoizeKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_memoizeNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_memoizeNorms", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeNorms(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useMemoisingKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_clearMemoizedInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_clearMemoizedInfo" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_clearKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_clearKernel" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
(arg1)->clearKernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_pointCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 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, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_pointCoordinate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->pointCoordinate(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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_pointWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 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, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_pointWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->pointWeight(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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_bandwidthCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 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, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_bandwidthCurve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->bandwidthCurve(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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 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, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->cvLocalizingWeight(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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->cvLocalizingWeightFunctor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > >(static_cast< const npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->density(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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->density(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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_density'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::density(double const,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::density(double const,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', 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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->densityFunctor(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->densityFunctor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::densityFunctor(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::densityFunctor(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< std::pair< double,double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', 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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->getLOrPE1D(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< std::pair< double,double > >(static_cast< const npstat::LOrPE1D< std::pair< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< std::pair< double,double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->getLOrPE1D(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< std::pair< double,double > >(static_cast< const npstat::LOrPE1D< std::pair< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_getLOrPE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::getLOrPE1D(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::getLOrPE1D(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,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 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call__" "', 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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->operator ()((double const &)*arg2,(double 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call__", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call____SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call____SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::operator ()(double const &,double const &) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::operator ()(double const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', 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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->densityIntegral(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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->densityIntegral(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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_densityIntegral'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::densityIntegral(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::densityIntegral(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 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) {
return _wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_integratedSquaredError'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::integratedSquaredError(npstat::AbsDistribution1D const &,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::integratedSquaredError(npstat::AbsDistribution1D const &,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_cvCapable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_cvCapable", 0, 0, 0)) SWIG_fail;
{
try {
result = (bool)npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double >::SWIGTEMPLATEDISAMBIGUATOR cvCapable();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_sortedCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_sortedCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->sortedCoords();
} 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_DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_sortedCoordWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_sortedCoordWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->sortedCoordWeights();
} 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 *DoubleDoublePair_Double_Double_LOrPE1DCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_Double_PyFCN_Double_LOrPE1DCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_PyFCN_Double_LOrPE1DCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_bindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_bindFilterDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->bindFilterDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_unbindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_unbindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
(arg1)->unbindFilterDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_boundFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_boundFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->boundFilterDegree();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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)->setWeights((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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_symbetaPower" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (int)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_leftBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_leftBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_rightBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_rightBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_bh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoundaryHandling result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_bh" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->bh();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::BoundaryHandling(static_cast< const npstat::BoundaryHandling& >(result))), SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_localizingWeightXmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_localizingWeightXmin" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->localizingWeightXmin();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_localizingWeighXmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_localizingWeighXmax" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->localizingWeighXmax();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_nIntegIntervals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_nIntegIntervals" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->nIntegIntervals();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_nIntegPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_nIntegPoints" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->nIntegPoints();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->normalizingLOrPEEstimate();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_coords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (std::vector< double,std::allocator< double > > *) &((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->coords();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_nCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->nCoords();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_minCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->minCoordinate();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_maxCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->maxCoordinate();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_totalSampleWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_totalSampleWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->totalSampleWeight();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_effectiveSampleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_effectiveSampleSize" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->effectiveSampleSize();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_isMemoizingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_isMemoizingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->isMemoizingKernels();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_isMemoizingNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_isMemoizingNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->isMemoizingNorms();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->isUsingMemoisingKernels();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeNorms", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeNorms(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useMemoisingKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_clearMemoizedInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_clearMemoizedInfo" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_clearKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_clearKernel" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
(arg1)->clearKernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_pointCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 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, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_pointCoordinate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->pointCoordinate(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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_pointWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 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, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_pointWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->pointWeight(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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_bandwidthCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 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, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_bandwidthCurve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->bandwidthCurve(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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 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, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->cvLocalizingWeight(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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->cvLocalizingWeightFunctor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > >(static_cast< const npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->density(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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->density(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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_Double_LOrPE1DCVFunctorHelper_density'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::density(double const,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::density(double const,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', 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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->densityFunctor(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->densityFunctor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::densityFunctor(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::densityFunctor(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< double > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', 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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->getLOrPE1D(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< double >(static_cast< const npstat::LOrPE1D< double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< double > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->getLOrPE1D(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< double >(static_cast< const npstat::LOrPE1D< double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::getLOrPE1D(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::getLOrPE1D(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call__" "', 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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->operator ()((double const &)*arg2,(double 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call__", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call____SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call____SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_Double_LOrPE1DCVFunctorHelper___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::operator ()(double const &,double const &) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::operator ()(double const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', 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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->densityIntegral(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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->densityIntegral(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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::densityIntegral(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::densityIntegral(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 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) {
return _wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::integratedSquaredError(npstat::AbsDistribution1D const &,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::integratedSquaredError(npstat::AbsDistribution1D const &,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_cvCapable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
bool result;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_cvCapable", 0, 0, 0)) SWIG_fail;
{
try {
result = (bool)npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::SWIGTEMPLATEDISAMBIGUATOR cvCapable();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_sortedCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_sortedCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->sortedCoords();
} 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_Double_PyFCN_Double_LOrPE1DCVFunctorHelper_sortedCoordWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVFunctorHelper_sortedCoordWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->sortedCoordWeights();
} 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 *Double_PyFCN_Double_LOrPE1DCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_bindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_bindFilterDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->bindFilterDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_unbindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_unbindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
(arg1)->unbindFilterDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_boundFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_boundFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->boundFilterDegree();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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)->setWeights((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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_symbetaPower" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_leftBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_leftBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_rightBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_rightBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_bh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoundaryHandling result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_bh" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->bh();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::BoundaryHandling(static_cast< const npstat::BoundaryHandling& >(result))), SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_localizingWeightXmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_localizingWeightXmin" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->localizingWeightXmin();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_localizingWeighXmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_localizingWeighXmax" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->localizingWeighXmax();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_nIntegIntervals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_nIntegIntervals" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->nIntegIntervals();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_nIntegPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_nIntegPoints" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->nIntegPoints();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->normalizingLOrPEEstimate();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_coords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *) &((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->coords();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_nCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->nCoords();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_minCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->minCoordinate();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_maxCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->maxCoordinate();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_totalSampleWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_totalSampleWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->totalSampleWeight();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_effectiveSampleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_effectiveSampleSize" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->effectiveSampleSize();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_isMemoizingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_isMemoizingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->isMemoizingKernels();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_isMemoizingNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_isMemoizingNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->isMemoizingNorms();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->isUsingMemoisingKernels();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeNorms", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeNorms(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useMemoisingKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_clearMemoizedInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_clearMemoizedInfo" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_clearKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_clearKernel" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
(arg1)->clearKernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_pointCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 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, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_pointCoordinate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->pointCoordinate(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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_pointWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 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, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_pointWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->pointWeight(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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_bandwidthCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 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, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_bandwidthCurve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->bandwidthCurve(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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 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, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->cvLocalizingWeight(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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->cvLocalizingWeightFunctor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > >(static_cast< const npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->density(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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->density(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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_density'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::density(double const,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::density(double const,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', 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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->densityFunctor(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->densityFunctor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::densityFunctor(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::densityFunctor(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< std::pair< double,double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', 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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->getLOrPE1D(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< std::pair< double,double > >(static_cast< const npstat::LOrPE1D< std::pair< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< std::pair< double,double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->getLOrPE1D(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< std::pair< double,double > >(static_cast< const npstat::LOrPE1D< std::pair< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_getLOrPE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::getLOrPE1D(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::getLOrPE1D(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call__" "', 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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->operator ()((double const &)*arg2,(double 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call__", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call____SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call____SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::operator ()(double const &,double const &) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::operator ()(double const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', 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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->densityIntegral(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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->densityIntegral(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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_densityIntegral'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::densityIntegral(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::densityIntegral(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 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) {
return _wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_integratedSquaredError'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::integratedSquaredError(npstat::AbsDistribution1D const &,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::integratedSquaredError(npstat::AbsDistribution1D const &,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_cvCapable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_cvCapable", 0, 0, 0)) SWIG_fail;
{
try {
result = (bool)npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::SWIGTEMPLATEDISAMBIGUATOR cvCapable();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_sortedCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_sortedCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->sortedCoords();
} 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_sortedCoordWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_sortedCoordWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->sortedCoordWeights();
} 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 *DoubleDoublePair_PyFCN_Double_LOrPE1DCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_Double_Double_PyFCN_LOrPE1DCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_Double_PyFCN_LOrPE1DCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->bindFilterDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_unbindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_unbindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
(arg1)->unbindFilterDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_boundFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_boundFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->boundFilterDegree();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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)->setWeights((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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_symbetaPower" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (int)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_leftBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_leftBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_rightBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_rightBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_bh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoundaryHandling result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_bh" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->bh();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::BoundaryHandling(static_cast< const npstat::BoundaryHandling& >(result))), SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_localizingWeightXmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_localizingWeightXmin" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->localizingWeightXmin();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_localizingWeighXmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_localizingWeighXmax" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->localizingWeighXmax();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_nIntegIntervals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_nIntegIntervals" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->nIntegIntervals();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_nIntegPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_nIntegPoints" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->nIntegPoints();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->normalizingLOrPEEstimate();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_coords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (std::vector< double,std::allocator< double > > *) &((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->coords();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_nCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->nCoords();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_minCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->minCoordinate();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_maxCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->maxCoordinate();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_totalSampleWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_totalSampleWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->totalSampleWeight();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_effectiveSampleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_effectiveSampleSize" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->effectiveSampleSize();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->isMemoizingKernels();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->isMemoizingNorms();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->isUsingMemoisingKernels();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeNorms(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useMemoisingKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_clearMemoizedInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_clearMemoizedInfo" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_clearKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_clearKernel" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
(arg1)->clearKernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 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, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->pointCoordinate(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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_pointWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 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, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_pointWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->pointWeight(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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 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, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->bandwidthCurve(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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 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, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->cvLocalizingWeight(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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->cvLocalizingWeightFunctor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->density(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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->density(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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_PyFCN_LOrPE1DCVFunctorHelper_density'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::density(double const,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::density(double const,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityFunctor(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityFunctor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::densityFunctor(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::densityFunctor(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< double > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->getLOrPE1D(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< double >(static_cast< const npstat::LOrPE1D< double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< double > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->getLOrPE1D(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< double >(static_cast< const npstat::LOrPE1D< double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::getLOrPE1D(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::getLOrPE1D(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call__" "', 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->operator ()((double const &)*arg2,(double 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< 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 *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call__", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_PyFCN_LOrPE1DCVFunctorHelper___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::operator ()(double const &,double const &) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::operator ()(double const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityIntegral(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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityIntegral(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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::densityIntegral(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::densityIntegral(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 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) {
return _wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::integratedSquaredError(npstat::AbsDistribution1D const &,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::integratedSquaredError(npstat::AbsDistribution1D const &,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_cvCapable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
bool result;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_cvCapable", 0, 0, 0)) SWIG_fail;
{
try {
result = (bool)npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::SWIGTEMPLATEDISAMBIGUATOR cvCapable();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_sortedCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_sortedCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->sortedCoords();
} 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_Double_Double_PyFCN_LOrPE1DCVFunctorHelper_sortedCoordWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVFunctorHelper_sortedCoordWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->sortedCoordWeights();
} 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 *Double_Double_PyFCN_LOrPE1DCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->bindFilterDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_unbindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_unbindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
(arg1)->unbindFilterDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_boundFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_boundFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->boundFilterDegree();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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)->setWeights((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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_symbetaPower" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_leftBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_leftBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_rightBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_rightBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_bh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoundaryHandling result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_bh" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->bh();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::BoundaryHandling(static_cast< const npstat::BoundaryHandling& >(result))), SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_localizingWeightXmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_localizingWeightXmin" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->localizingWeightXmin();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_localizingWeighXmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_localizingWeighXmax" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->localizingWeighXmax();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_nIntegIntervals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_nIntegIntervals" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->nIntegIntervals();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_nIntegPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_nIntegPoints" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->nIntegPoints();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->normalizingLOrPEEstimate();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_coords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *) &((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->coords();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_nCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->nCoords();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_minCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->minCoordinate();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_maxCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->maxCoordinate();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_totalSampleWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_totalSampleWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->totalSampleWeight();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_effectiveSampleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_effectiveSampleSize" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->effectiveSampleSize();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->isMemoizingKernels();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->isMemoizingNorms();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->isUsingMemoisingKernels();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeNorms(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useMemoisingKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_clearMemoizedInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_clearMemoizedInfo" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_clearKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_clearKernel" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
(arg1)->clearKernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 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, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->pointCoordinate(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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_pointWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 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, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_pointWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->pointWeight(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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 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, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->bandwidthCurve(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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 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, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->cvLocalizingWeight(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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->cvLocalizingWeightFunctor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->density(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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->density(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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_density'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::density(double const,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::density(double const,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', 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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityFunctor(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityFunctor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::densityFunctor(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::densityFunctor(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< std::pair< double,double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', 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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->getLOrPE1D(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< std::pair< double,double > >(static_cast< const npstat::LOrPE1D< std::pair< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< std::pair< double,double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->getLOrPE1D(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< std::pair< double,double > >(static_cast< const npstat::LOrPE1D< std::pair< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::getLOrPE1D(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::getLOrPE1D(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call__" "', 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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->operator ()((double const &)*arg2,(double 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call__", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::operator ()(double const &,double const &) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::operator ()(double const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', 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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityIntegral(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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityIntegral(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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::densityIntegral(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::densityIntegral(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 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) {
return _wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::integratedSquaredError(npstat::AbsDistribution1D const &,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::integratedSquaredError(npstat::AbsDistribution1D const &,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_cvCapable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_cvCapable", 0, 0, 0)) SWIG_fail;
{
try {
result = (bool)npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::SWIGTEMPLATEDISAMBIGUATOR cvCapable();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_sortedCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_sortedCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->sortedCoords();
} 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_sortedCoordWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_sortedCoordWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->sortedCoordWeights();
} 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 *DoubleDoublePair_Double_PyFCN_LOrPE1DCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->bindFilterDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_unbindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_unbindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
(arg1)->unbindFilterDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_boundFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_boundFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->boundFilterDegree();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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)->setWeights((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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_symbetaPower" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (int)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_leftBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_leftBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_rightBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_rightBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoundaryHandling result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bh" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->bh();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::BoundaryHandling(static_cast< const npstat::BoundaryHandling& >(result))), SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_localizingWeightXmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_localizingWeightXmin" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->localizingWeightXmin();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_localizingWeighXmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_localizingWeighXmax" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->localizingWeighXmax();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nIntegIntervals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nIntegIntervals" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->nIntegIntervals();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nIntegPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nIntegPoints" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->nIntegPoints();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->normalizingLOrPEEstimate();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_coords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (std::vector< double,std::allocator< double > > *) &((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->coords();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->nCoords();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_minCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->minCoordinate();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_maxCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->maxCoordinate();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_totalSampleWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_totalSampleWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->totalSampleWeight();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_effectiveSampleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_effectiveSampleSize" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->effectiveSampleSize();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->isMemoizingKernels();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->isMemoizingNorms();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->isUsingMemoisingKernels();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeNorms(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useMemoisingKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_clearMemoizedInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_clearMemoizedInfo" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_clearKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_clearKernel" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
(arg1)->clearKernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->pointCoordinate(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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->pointWeight(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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->bandwidthCurve(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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->cvLocalizingWeight(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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->cvLocalizingWeightFunctor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->density(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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->density(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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::density(double const,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::density(double const,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityFunctor(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityFunctor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::densityFunctor(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::densityFunctor(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< double > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->getLOrPE1D(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< double >(static_cast< const npstat::LOrPE1D< double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< double > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->getLOrPE1D(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< double >(static_cast< const npstat::LOrPE1D< double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::getLOrPE1D(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::getLOrPE1D(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__" "', 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->operator ()((double const &)*arg2,(double 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::operator ()(double const &,double const &) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::operator ()(double const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityIntegral(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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityIntegral(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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::densityIntegral(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::densityIntegral(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 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) {
return _wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::integratedSquaredError(npstat::AbsDistribution1D const &,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::integratedSquaredError(npstat::AbsDistribution1D const &,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvCapable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
bool result;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvCapable", 0, 0, 0)) SWIG_fail;
{
try {
result = (bool)npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::SWIGTEMPLATEDISAMBIGUATOR cvCapable();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_sortedCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_sortedCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->sortedCoords();
} 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_Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_sortedCoordWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_sortedCoordWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->sortedCoordWeights();
} 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 *Double_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bindFilterDegree" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->bindFilterDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_unbindFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_unbindFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
(arg1)->unbindFilterDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_boundFilterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_boundFilterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->boundFilterDegree();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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)->setWeights((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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_symbetaPower" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_leftBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_leftBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_rightBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_rightBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bh(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoundaryHandling result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bh" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->bh();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::BoundaryHandling(static_cast< const npstat::BoundaryHandling& >(result))), SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_localizingWeightXmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_localizingWeightXmin" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->localizingWeightXmin();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_localizingWeighXmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_localizingWeighXmax" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->localizingWeighXmax();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nIntegIntervals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nIntegIntervals" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->nIntegIntervals();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nIntegPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nIntegPoints" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->nIntegPoints();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_normalizingLOrPEEstimate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->normalizingLOrPEEstimate();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_coords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *) &((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->coords();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_nCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->nCoords();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_minCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->minCoordinate();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_maxCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->maxCoordinate();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_totalSampleWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_totalSampleWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->totalSampleWeight();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_effectiveSampleSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_effectiveSampleSize" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->effectiveSampleSize();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->isMemoizingKernels();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isMemoizingNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->isMemoizingNorms();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_isUsingMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->isUsingMemoisingKernels();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_memoizeNorms" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoizeNorms(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_useMemoisingKernels" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useMemoisingKernels(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_clearMemoizedInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_clearMemoizedInfo" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_clearKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_clearKernel" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
(arg1)->clearKernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointCoordinate" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->pointCoordinate(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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_pointWeight" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->pointWeight(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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_bandwidthCurve" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->bandwidthCurve(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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->cvLocalizingWeight(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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->cvLocalizingWeightFunctor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->density(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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->density(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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_density'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::density(double const,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::density(double const,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityFunctor(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityFunctor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >(static_cast< const npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::densityFunctor(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::densityFunctor(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< std::pair< double,double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->getLOrPE1D(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< std::pair< double,double > >(static_cast< const npstat::LOrPE1D< std::pair< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
SwigValueWrapper< npstat::LOrPE1D< std::pair< double,double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->getLOrPE1D(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1D< std::pair< double,double > >(static_cast< const npstat::LOrPE1D< std::pair< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DT_std__pairT_double_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_getLOrPE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::getLOrPE1D(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::getLOrPE1D(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__" "', 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->operator ()((double const &)*arg2,(double 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call____SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::operator ()(double const &,double const &) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::operator ()(double const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityIntegral(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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->densityIntegral(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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_densityIntegral'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::densityIntegral(double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::densityIntegral(double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 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) {
return _wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_integratedSquaredError'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::integratedSquaredError(npstat::AbsDistribution1D const &,double const,double const) const\n"
" npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::integratedSquaredError(npstat::AbsDistribution1D const &,double const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvCapable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_cvCapable", 0, 0, 0)) SWIG_fail;
{
try {
result = (bool)npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::SWIGTEMPLATEDISAMBIGUATOR cvCapable();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_sortedCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_sortedCoords" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->sortedCoords();
} 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_sortedCoordWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 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__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_sortedCoordWeights" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = ((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->sortedCoordWeights();
} 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 *DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_Double_Double_Double_LOrPE1DLSCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DLSCVFunctorHelper< 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__LOrPE1DLSCVFunctorHelperT_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_Double_Double_LOrPE1DLSCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< 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 *Double_Double_Double_LOrPE1DLSCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_Double_Double_LOrPE1DLSCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,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__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_Double_Double_LOrPE1DLSCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,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 *DoubleDoublePair_Double_Double_LOrPE1DLSCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_Double_PyFCN_Double_LOrPE1DLSCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DLSCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_PyFCN_Double_LOrPE1DLSCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< 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 *Double_PyFCN_Double_LOrPE1DLSCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_PyFCN_Double_LOrPE1DLSCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_PyFCN_Double_LOrPE1DLSCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 *DoubleDoublePair_PyFCN_Double_LOrPE1DLSCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_Double_Double_PyFCN_LOrPE1DLSCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DLSCVFunctorHelper< 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__LOrPE1DLSCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_Double_PyFCN_LOrPE1DLSCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< 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 *Double_Double_PyFCN_LOrPE1DLSCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_Double_PyFCN_LOrPE1DLSCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,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__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_Double_PyFCN_LOrPE1DLSCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,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 *DoubleDoublePair_Double_PyFCN_LOrPE1DLSCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_Double_PyFCN_PyFCN_LOrPE1DLSCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DLSCVFunctorHelperT_double_npstat__Functor1RefHelperT_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_Double_PyFCN_PyFCN_LOrPE1DLSCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< 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 *Double_PyFCN_PyFCN_LOrPE1DLSCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DLSCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DLSCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 *DoubleDoublePair_PyFCN_PyFCN_LOrPE1DLSCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_Double_Double_Double_LOrPE1DRLCVFunctorHelper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *)new npstat::LOrPE1DRLCVFunctorHelper< double,double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Double_Double_Double_LOrPE1DRLCVFunctorHelper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *result = 0 ;
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 '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *)new npstat::LOrPE1DRLCVFunctorHelper< double,double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Double_Double_Double_LOrPE1DRLCVFunctorHelper(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[14] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Double_Double_Double_LOrPE1DRLCVFunctorHelper", 0, 13, argv))) SWIG_fail;
--argc;
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Double_Double_Double_LOrPE1DRLCVFunctorHelper__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Double_Double_Double_LOrPE1DRLCVFunctorHelper__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Double_Double_Double_LOrPE1DRLCVFunctorHelper'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DRLCVFunctorHelper< double,double,double >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,double const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctorHelper< double,double,double >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,double const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_Double_Double_Double_LOrPE1DRLCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< 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__LOrPE1DRLCVFunctorHelperT_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< 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_Double_Double_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setRlcvAlpha(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_Double_LOrPE1DRLCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_Double_LOrPE1DRLCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DRLCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,double,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)->setWeights((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_Double_Double_Double_LOrPE1DRLCVFunctorHelper_rlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,double,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,double,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__LOrPE1DRLCVFunctorHelperT_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DRLCVFunctorHelper_rlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DRLCVFunctorHelper< double,double,double > const *)arg1)->rlcvAlpha();
} 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 *Double_Double_Double_LOrPE1DRLCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_Double_Double_LOrPE1DRLCVFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" 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 '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *)new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *result = 0 ;
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 '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" 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 '" "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *)new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[14] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper", 0, 13, argv))) SWIG_fail;
--argc;
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,double const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,double const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,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__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,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_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setRlcvAlpha(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,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)->setWeights((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_DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_rlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,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__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_rlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > const *)arg1)->rlcvAlpha();
} 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 *DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_Double_Double_LOrPE1DRLCVFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *)new npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *result = 0 ;
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 '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *)new npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[14] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper", 0, 13, argv))) SWIG_fail;
--argc;
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< 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_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setRlcvAlpha(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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)->setWeights((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_Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_rlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_rlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->rlcvAlpha();
} 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 *Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_PyFCN_Double_LOrPE1DRLCVFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" 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 '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *)new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *result = 0 ;
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 '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" 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 '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *)new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[14] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper", 0, 13, argv))) SWIG_fail;
--argc;
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setRlcvAlpha(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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)->setWeights((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_DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_rlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_rlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const *)arg1)->rlcvAlpha();
} 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 *DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_PyFCN_Double_LOrPE1DRLCVFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *)new npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *result = 0 ;
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 '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *)new npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[14] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper", 0, 13, argv))) SWIG_fail;
--argc;
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,double const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,double const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< 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__LOrPE1DRLCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< 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_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setRlcvAlpha(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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)->setWeights((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_Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_rlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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__LOrPE1DRLCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_rlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->rlcvAlpha();
} 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 *Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_Double_PyFCN_LOrPE1DRLCVFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" 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 '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *)new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *result = 0 ;
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 '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" 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 '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *)new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[14] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper", 0, 13, argv))) SWIG_fail;
--argc;
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,double const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,double const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,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__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,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_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setRlcvAlpha(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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)->setWeights((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_DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_rlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_rlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const *)arg1)->rlcvAlpha();
} 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 *DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_Double_PyFCN_LOrPE1DRLCVFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 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 val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *)new npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 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 val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *result = 0 ;
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 '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *)new npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[14] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper", 0, 13, argv))) SWIG_fail;
--argc;
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_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_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< 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_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setRlcvAlpha(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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)->setWeights((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_Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_rlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_rlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->rlcvAlpha();
} 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 *Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 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 val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" 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 '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *)new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 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 val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *result = 0 ;
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 '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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 '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" 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 '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *)new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[14] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper", 0, 13, argv))) SWIG_fail;
--argc;
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >::LOrPE1DRLCVFunctorHelper(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setRlcvAlpha" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setRlcvAlpha(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_setWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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)->setWeights((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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_rlcvAlpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_rlcvAlpha" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->rlcvAlpha();
} 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 *DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_PyFCN_PyFCN_LOrPE1DRLCVFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_Double_Double_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = 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::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_Double_Double_Double_LOrPE1DCVDensityFunctor", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Double_Double_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Double_Double_Double_LOrPE1DCVDensityFunctor" "', 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_Double_Double_Double_LOrPE1DCVDensityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > *)new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > >((npstat::LOrPE1DCVFunctorHelper< double,double,double > 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Double_Double_Double_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_Double_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< 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_Double_Double_Double_LOrPE1DCVDensityFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< 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, "Double_Double_Double_LOrPE1DCVDensityFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVDensityFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVDensityFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< 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 *Double_Double_Double_LOrPE1DCVDensityFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_Double_Double_LOrPE1DCVDensityFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 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::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor" "', 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_DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > *)new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > >((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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_DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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, "DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 *DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_Double_Double_LOrPE1DCVDensityFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_PyFCN_Double_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = 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::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_Double_PyFCN_Double_LOrPE1DCVDensityFunctor", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Double_PyFCN_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Double_PyFCN_Double_LOrPE1DCVDensityFunctor" "', 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_Double_PyFCN_Double_LOrPE1DCVDensityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > *)new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > >((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Double_PyFCN_Double_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_PyFCN_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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_Double_PyFCN_Double_LOrPE1DCVDensityFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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, "Double_PyFCN_Double_LOrPE1DCVDensityFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVDensityFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVDensityFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 *Double_PyFCN_Double_LOrPE1DCVDensityFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_PyFCN_Double_LOrPE1DCVDensityFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 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::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor" "', 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > *)new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > >((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 *DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_PyFCN_Double_LOrPE1DCVDensityFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_Double_PyFCN_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = 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::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_Double_Double_PyFCN_LOrPE1DCVDensityFunctor", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Double_Double_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< 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 '" "new_Double_Double_PyFCN_LOrPE1DCVDensityFunctor" "', 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_Double_Double_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > *)new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > >((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Double_Double_PyFCN_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_Double_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< 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_Double_Double_PyFCN_LOrPE1DCVDensityFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< 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, "Double_Double_PyFCN_LOrPE1DCVDensityFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVDensityFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVDensityFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< 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 *Double_Double_PyFCN_LOrPE1DCVDensityFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_Double_PyFCN_LOrPE1DCVDensityFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 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::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor" "', 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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > *)new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > >((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 *DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_Double_PyFCN_LOrPE1DCVDensityFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 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::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "new_Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor" "', 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_Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *)new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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_Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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, "Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 *Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_PyFCN_PyFCN_LOrPE1DCVDensityFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 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::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor" "', 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *)new npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVDensityFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 *DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVDensityFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVDensityFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,double > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,double > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,double > * >(argp1);
{
try {
result = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > *)new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > >((npstat::LOrPE1DCVFunctorHelper< double,double,double > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< 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_Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< 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, "Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< 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 *Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_Double_Double_LOrPE1DCVLocalizingWeightFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
{
try {
result = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > *)new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > >((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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_DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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, "DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 *DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_Double_Double_LOrPE1DCVLocalizingWeightFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > *)new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > >((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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_Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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, "Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 *Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
{
try {
result = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > *)new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > >((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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_DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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, "DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 *DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_PyFCN_Double_LOrPE1DCVLocalizingWeightFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > *)new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > >((npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< 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__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< 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_Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< 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, "Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< 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 '" "Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< 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 *Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > *)new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > >((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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_DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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, "DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 '" "DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,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 *DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_Double_PyFCN_LOrPE1DCVLocalizingWeightFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *)new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >((npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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_Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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, "Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 '" "Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< double,npstat::Functor1RefHelper< 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 *Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Double_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
result = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *)new npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > >((npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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_DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > *arg1 = (npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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, "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "1"" of type '" "npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 '" "DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DCVLocalizingWeightFunctor< npstat::LOrPE1DCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< 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 *DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVLocalizingWeightFunctorT_npstat__LOrPE1DCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePair_PyFCN_PyFCN_LOrPE1DCVLocalizingWeightFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_LOrPE1DLSCVFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< double,double,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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DLSCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DLSCVFunctor< double,double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< double,double,double >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< double,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DLSCVFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DLSCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DLSCVFunctor< double,npstat::Functor1RefHelper< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DLSCVFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DLSCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DLSCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DLSCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DLSCVFunctor< double,double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DLSCVFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 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 val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DLSCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DLSCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DLSCVFunctor< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DLSCVFunctor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DLSCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" 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 '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DLSCVFunctor< std::pair< double,double >,double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DLSCVFunctor__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DLSCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" 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 '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DLSCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DLSCVFunctor__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DLSCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DLSCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DLSCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" 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 '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DLSCVFunctor< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DLSCVFunctor__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 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 val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DLSCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DLSCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DLSCVFunctor" "', 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 '" "LOrPE1DLSCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DLSCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DLSCVFunctor" "', argument " "12"" 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 '" "LOrPE1DLSCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DLSCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DLSCVFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[13] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LOrPE1DLSCVFunctor", 0, 12, argv))) SWIG_fail;
--argc;
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DLSCVFunctor__SWIG_4(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DLSCVFunctor__SWIG_8(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DLSCVFunctor__SWIG_6(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DLSCVFunctor__SWIG_2(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DLSCVFunctor__SWIG_7(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DLSCVFunctor__SWIG_3(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DLSCVFunctor__SWIG_5(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DLSCVFunctor__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LOrPE1DLSCVFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DLSCVFunctor< double,double,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DLSCVFunctor< double,npstat::Functor1RefHelper< double,double >,double >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DLSCVFunctor< double,double,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DLSCVFunctor< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DLSCVFunctor< std::pair< double,double >,double,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n"
" npstat::LOrPE1DLSCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n"
" npstat::LOrPE1DLSCVFunctor< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n"
" npstat::LOrPE1DLSCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobLSCVFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< double,std::allocator< double > > *arg9 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< double,double,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 '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg9 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobLSCVFunctor< double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,arg6,arg7,arg8,(std::vector< double,std::allocator< double > > const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< double,double,double >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< double,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobLSCVFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< double,std::allocator< double > > *arg9 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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 '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg9 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobLSCVFunctor< double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,arg6,arg7,arg8,(std::vector< double,std::allocator< double > > const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobLSCVFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg9 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,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 '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
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;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "9"" 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 '" "LOrPE1DGlobLSCVFunctor" "', argument " "9"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg9 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobLSCVFunctor< std::pair< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,arg6,arg7,arg8,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobLSCVFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg9 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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 '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobLSCVFunctor" "', 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 '" "LOrPE1DGlobLSCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
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;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobLSCVFunctor" "', argument " "9"" 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 '" "LOrPE1DGlobLSCVFunctor" "', argument " "9"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg9 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobLSCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,arg6,arg7,arg8,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobLSCVFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[10] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LOrPE1DGlobLSCVFunctor", 0, 9, 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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DGlobLSCVFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DGlobLSCVFunctor__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DGlobLSCVFunctor__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DGlobLSCVFunctor__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LOrPE1DGlobLSCVFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DGlobLSCVFunctor< double,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DGlobLSCVFunctor< double,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DGlobLSCVFunctor< std::pair< double,double >,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n"
" npstat::LOrPE1DGlobLSCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSimpleLSCVFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
unsigned int arg5 ;
unsigned int arg6 ;
bool arg7 ;
std::vector< double,std::allocator< double > > *arg8 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
int res8 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< double,double,double > > result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DSimpleLSCVFunctor" "', 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 '" "LOrPE1DSimpleLSCVFunctor" "', 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 '" "LOrPE1DSimpleLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DSimpleLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSimpleLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DSimpleLSCVFunctor" "', 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 '" "LOrPE1DSimpleLSCVFunctor" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DSimpleLSCVFunctor" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res8 = swig::asptr(swig_obj[7], &ptr);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "LOrPE1DSimpleLSCVFunctor" "', argument " "8"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSimpleLSCVFunctor" "', argument " "8"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg8 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DSimpleLSCVFunctor< double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,arg5,arg6,arg7,(std::vector< double,std::allocator< double > > const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< double,double,double >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< double,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_double_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res8)) delete arg8;
return resultobj;
fail:
if (SWIG_IsNewObj(res8)) delete arg8;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSimpleLSCVFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
unsigned int arg5 ;
unsigned int arg6 ;
bool arg7 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg8 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
int res8 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > > result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DSimpleLSCVFunctor" "', 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 '" "LOrPE1DSimpleLSCVFunctor" "', 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 '" "LOrPE1DSimpleLSCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DSimpleLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSimpleLSCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DSimpleLSCVFunctor" "', 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 '" "LOrPE1DSimpleLSCVFunctor" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DSimpleLSCVFunctor" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
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;
res8 = swig::asptr(swig_obj[7], &ptr);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "LOrPE1DSimpleLSCVFunctor" "', argument " "8"" 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 '" "LOrPE1DSimpleLSCVFunctor" "', argument " "8"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg8 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DSimpleLSCVFunctor< std::pair< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,arg5,arg6,arg7,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >(static_cast< const npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res8)) delete arg8;
return resultobj;
fail:
if (SWIG_IsNewObj(res8)) delete arg8;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSimpleLSCVFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[9] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LOrPE1DSimpleLSCVFunctor", 0, 8, argv))) SWIG_fail;
--argc;
if (argc == 8) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[7], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DSimpleLSCVFunctor__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[7], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DSimpleLSCVFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LOrPE1DSimpleLSCVFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DSimpleLSCVFunctor< double >(int const,double const,double const,npstat::BoundaryHandling const &,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DSimpleLSCVFunctor< std::pair< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,double,double > > result;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "LOrPE1DRLCVFunctor" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< double,double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,double,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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< double,double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double > > result;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "LOrPE1DRLCVFunctor" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< double,npstat::Functor1RefHelper< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< double,npstat::Functor1RefHelper< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > > > result;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "LOrPE1DRLCVFunctor" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< double,double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< double,double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,double,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 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 val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > result;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "LOrPE1DRLCVFunctor" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< double,std::allocator< double > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 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 val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< double,std::allocator< double > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > > result;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" 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 '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "LOrPE1DRLCVFunctor" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< std::pair< double,double >,double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" 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 '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< std::pair< double,double >,double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > > result;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" 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 '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "LOrPE1DRLCVFunctor" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
double *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" 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 '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(double const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > > result;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" 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 '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "LOrPE1DRLCVFunctor" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" 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 '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
double arg13 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 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 val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
double val13 ;
int ecode13 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > > result;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" 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 '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
ecode13 = SWIG_AsVal_double(swig_obj[12], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "LOrPE1DRLCVFunctor" "', argument " "13"" of type '" "double""'");
}
arg13 = static_cast< double >(val13);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
npstat::Functor1RefHelper< double,double > *arg6 = 0 ;
double arg7 ;
double arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
bool arg11 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg12 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 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 val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
int res12 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DRLCVFunctor" "', argument " "6"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg6 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DRLCVFunctor" "', 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 '" "LOrPE1DRLCVFunctor" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LOrPE1DRLCVFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
{
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;
res12 = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "LOrPE1DRLCVFunctor" "', argument " "12"" 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 '" "LOrPE1DRLCVFunctor" "', argument " "12"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg12 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,(npstat::Functor1RefHelper< double,double > const &)*arg6,arg7,arg8,arg9,arg10,arg11,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res12)) delete arg12;
return resultobj;
fail:
if (SWIG_IsNewObj(res12)) delete arg12;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DRLCVFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[14] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LOrPE1DRLCVFunctor", 0, 13, argv))) SWIG_fail;
--argc;
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_9(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_17(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_13(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_5(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_15(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_7(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_11(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_16(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_12(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_14(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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) {
{
int res = SWIG_AsVal_double(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_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[12], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DRLCVFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LOrPE1DRLCVFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DRLCVFunctor< double,double,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctor< double,double,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DRLCVFunctor< double,npstat::Functor1RefHelper< double,double >,double >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctor< double,npstat::Functor1RefHelper< double,double >,double >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DRLCVFunctor< double,double,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctor< double,double,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DRLCVFunctor< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctor< double,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DRLCVFunctor< std::pair< double,double >,double,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctor< std::pair< double,double >,double,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n"
" npstat::LOrPE1DRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,double const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n"
" npstat::LOrPE1DRLCVFunctor< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctor< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n"
" npstat::LOrPE1DRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,npstat::Functor1RefHelper< double,double > const &,double const,double const,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobRLCVFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< double,std::allocator< double > > *arg9 = 0 ;
double arg10 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
double val10 ;
int ecode10 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,double,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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg9 = ptr;
}
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobRLCVFunctor< double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,arg6,arg7,arg8,(std::vector< double,std::allocator< double > > const &)*arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobRLCVFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< double,std::allocator< double > > *arg9 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,double,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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg9 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobRLCVFunctor< double,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,arg6,arg7,arg8,(std::vector< double,std::allocator< double > > const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobRLCVFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< double,std::allocator< double > > *arg9 = 0 ;
double arg10 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
double val10 ;
int ecode10 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg9 = ptr;
}
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobRLCVFunctor< double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,arg6,arg7,arg8,(std::vector< double,std::allocator< double > > const &)*arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobRLCVFunctor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< double,std::allocator< double > > *arg9 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg9 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobRLCVFunctor< double,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,arg6,arg7,arg8,(std::vector< double,std::allocator< double > > const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobRLCVFunctor__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg9 = 0 ;
double arg10 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
double val10 ;
int ecode10 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
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;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg9 = ptr;
}
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobRLCVFunctor< std::pair< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,arg6,arg7,arg8,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobRLCVFunctor__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
double *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg9 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
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;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg9 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobRLCVFunctor< std::pair< double,double >,double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(double const &)*arg5,arg6,arg7,arg8,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobRLCVFunctor__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg9 = 0 ;
double arg10 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
double val10 ;
int ecode10 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
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;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg9 = ptr;
}
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,arg6,arg7,arg8,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobRLCVFunctor__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
npstat::Functor1RefHelper< double,double > *arg5 = 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
bool arg8 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg9 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "5"" of type '" "npstat::Functor1RefHelper< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DGlobRLCVFunctor" "', 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
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;
res9 = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" 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 '" "LOrPE1DGlobRLCVFunctor" "', argument " "9"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg9 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DGlobRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,(npstat::Functor1RefHelper< double,double > const &)*arg5,arg6,arg7,arg8,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res9)) delete arg9;
return resultobj;
fail:
if (SWIG_IsNewObj(res9)) delete arg9;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DGlobRLCVFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[11] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LOrPE1DGlobRLCVFunctor", 0, 10, 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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DGlobRLCVFunctor__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DGlobRLCVFunctor__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DGlobRLCVFunctor__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DGlobRLCVFunctor__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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DGlobRLCVFunctor__SWIG_4(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DGlobRLCVFunctor__SWIG_8(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DGlobRLCVFunctor__SWIG_6(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, 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_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_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DGlobRLCVFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LOrPE1DGlobRLCVFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DGlobRLCVFunctor< double,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DGlobRLCVFunctor< double,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DGlobRLCVFunctor< double,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DGlobRLCVFunctor< double,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DGlobRLCVFunctor< std::pair< double,double >,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DGlobRLCVFunctor< std::pair< double,double >,double >(int const,double const,double const,npstat::BoundaryHandling const &,double const &,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n"
" npstat::LOrPE1DGlobRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DGlobRLCVFunctor< std::pair< double,double >,npstat::Functor1RefHelper< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,npstat::Functor1RefHelper< double,double > const &,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSimpleRLCVFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
unsigned int arg5 ;
unsigned int arg6 ;
bool arg7 ;
std::vector< double,std::allocator< double > > *arg8 = 0 ;
double arg9 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
int res8 = SWIG_OLDOBJ ;
double val9 ;
int ecode9 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,double,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 '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res8 = swig::asptr(swig_obj[7], &ptr);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "8"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "8"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg8 = ptr;
}
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DSimpleRLCVFunctor< double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,arg5,arg6,arg7,(std::vector< double,std::allocator< double > > const &)*arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res8)) delete arg8;
return resultobj;
fail:
if (SWIG_IsNewObj(res8)) delete arg8;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSimpleRLCVFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
unsigned int arg5 ;
unsigned int arg6 ;
bool arg7 ;
std::vector< double,std::allocator< double > > *arg8 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
int res8 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< double,double,double > > result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res8 = swig::asptr(swig_obj[7], &ptr);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "8"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "8"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg8 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DSimpleRLCVFunctor< double >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,arg5,arg6,arg7,(std::vector< double,std::allocator< double > > const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< double,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< double,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_double_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res8)) delete arg8;
return resultobj;
fail:
if (SWIG_IsNewObj(res8)) delete arg8;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSimpleRLCVFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
unsigned int arg5 ;
unsigned int arg6 ;
bool arg7 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg8 = 0 ;
double arg9 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
int res8 = SWIG_OLDOBJ ;
double val9 ;
int ecode9 = 0 ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,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 '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
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;
res8 = swig::asptr(swig_obj[7], &ptr);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "8"" 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 '" "LOrPE1DSimpleRLCVFunctor" "', argument " "8"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg8 = ptr;
}
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DSimpleRLCVFunctor< std::pair< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,arg5,arg6,arg7,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res8)) delete arg8;
return resultobj;
fail:
if (SWIG_IsNewObj(res8)) delete arg8;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSimpleRLCVFunctor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
npstat::BoundaryHandling *arg4 = 0 ;
unsigned int arg5 ;
unsigned int arg6 ;
bool arg7 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg8 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
int res8 = SWIG_OLDOBJ ;
SwigValueWrapper< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > > result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "4"" of type '" "npstat::BoundaryHandling const &""'");
}
arg4 = reinterpret_cast< npstat::BoundaryHandling * >(argp4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DSimpleRLCVFunctor" "', 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 '" "LOrPE1DSimpleRLCVFunctor" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
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;
res8 = swig::asptr(swig_obj[7], &ptr);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "LOrPE1DSimpleRLCVFunctor" "', argument " "8"" 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 '" "LOrPE1DSimpleRLCVFunctor" "', argument " "8"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg8 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR LOrPE1DSimpleRLCVFunctor< std::pair< double,double > >(arg1,arg2,arg3,(npstat::BoundaryHandling const &)*arg4,arg5,arg6,arg7,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >(static_cast< const npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >& >(result))), SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res8)) delete arg8;
return resultobj;
fail:
if (SWIG_IsNewObj(res8)) delete arg8;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSimpleRLCVFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[10] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LOrPE1DSimpleRLCVFunctor", 0, 9, argv))) SWIG_fail;
--argc;
if (argc == 8) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[7], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DSimpleRLCVFunctor__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[7], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DSimpleRLCVFunctor__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
}
}
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[7], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DSimpleRLCVFunctor__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[7], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DSimpleRLCVFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LOrPE1DSimpleRLCVFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DSimpleRLCVFunctor< double >(int const,double const,double const,npstat::BoundaryHandling const &,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &,double const)\n"
" npstat::LOrPE1DSimpleRLCVFunctor< double >(int const,double const,double const,npstat::BoundaryHandling const &,unsigned int const,unsigned int const,bool const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::LOrPE1DSimpleRLCVFunctor< std::pair< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,double const)\n"
" npstat::LOrPE1DSimpleRLCVFunctor< std::pair< double,double > >(int const,double const,double const,npstat::BoundaryHandling const &,unsigned int const,unsigned int const,bool const,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LOrPEWeightsResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
bool arg2 ;
unsigned int arg3 ;
npstat::LOrPE1DCVResult *arg4 = 0 ;
double val1 ;
int ecode1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
npstat::LOrPEWeightsResult *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LOrPEWeightsResult", 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_LOrPEWeightsResult" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LOrPEWeightsResult" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LOrPEWeightsResult" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__LOrPE1DCVResult, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_LOrPEWeightsResult" "', argument " "4"" of type '" "npstat::LOrPE1DCVResult const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPEWeightsResult" "', argument " "4"" of type '" "npstat::LOrPE1DCVResult const &""'");
}
arg4 = reinterpret_cast< npstat::LOrPE1DCVResult * >(argp4);
{
try {
result = (npstat::LOrPEWeightsResult *)new npstat::LOrPEWeightsResult(arg1,arg2,arg3,(npstat::LOrPE1DCVResult const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPEWeightsResult_filterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsResult *arg1 = (npstat::LOrPEWeightsResult *) 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__LOrPEWeightsResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsResult_filterDegree" "', argument " "1"" of type '" "npstat::LOrPEWeightsResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsResult * >(argp1);
{
try {
result = (double)((npstat::LOrPEWeightsResult 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_LOrPEWeightsResult_bwFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsResult *arg1 = (npstat::LOrPEWeightsResult *) 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__LOrPEWeightsResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsResult_bwFactor" "', argument " "1"" of type '" "npstat::LOrPEWeightsResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsResult * >(argp1);
{
try {
result = (double)((npstat::LOrPEWeightsResult 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_LOrPEWeightsResult_cvFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsResult *arg1 = (npstat::LOrPEWeightsResult *) 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__LOrPEWeightsResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsResult_cvFunction" "', argument " "1"" of type '" "npstat::LOrPEWeightsResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsResult * >(argp1);
{
try {
result = (double)((npstat::LOrPEWeightsResult 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_LOrPEWeightsResult_isOnDegreeBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsResult *arg1 = (npstat::LOrPEWeightsResult *) 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__LOrPEWeightsResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsResult_isOnDegreeBoundary" "', argument " "1"" of type '" "npstat::LOrPEWeightsResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsResult * >(argp1);
{
try {
result = (bool)((npstat::LOrPEWeightsResult 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_LOrPEWeightsResult_isOnBandwidthBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsResult *arg1 = (npstat::LOrPEWeightsResult *) 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__LOrPEWeightsResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsResult_isOnBandwidthBoundary" "', argument " "1"" of type '" "npstat::LOrPEWeightsResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsResult * >(argp1);
{
try {
result = (bool)((npstat::LOrPEWeightsResult 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_LOrPEWeightsResult_alpha(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsResult *arg1 = (npstat::LOrPEWeightsResult *) 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__LOrPEWeightsResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsResult_alpha" "', argument " "1"" of type '" "npstat::LOrPEWeightsResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsResult * >(argp1);
{
try {
result = (double)((npstat::LOrPEWeightsResult const *)arg1)->alpha();
} 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_LOrPEWeightsResult_nIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsResult *arg1 = (npstat::LOrPEWeightsResult *) 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__LOrPEWeightsResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsResult_nIterations" "', argument " "1"" of type '" "npstat::LOrPEWeightsResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsResult * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPEWeightsResult const *)arg1)->nIterations();
} 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_LOrPEWeightsResult_converged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsResult *arg1 = (npstat::LOrPEWeightsResult *) 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__LOrPEWeightsResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsResult_converged" "', argument " "1"" of type '" "npstat::LOrPEWeightsResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsResult * >(argp1);
{
try {
result = (bool)((npstat::LOrPEWeightsResult const *)arg1)->converged();
} 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_LOrPEWeightsResult__print(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsResult *arg1 = (npstat::LOrPEWeightsResult *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LOrPEWeightsResult__print", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPEWeightsResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsResult__print" "', argument " "1"" of type '" "npstat::LOrPEWeightsResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsResult * >(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 '" "LOrPEWeightsResult__print" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPEWeightsResult__print" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
((npstat::LOrPEWeightsResult const *)arg1)->print(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LOrPEWeightsResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsResult *arg1 = (npstat::LOrPEWeightsResult *) 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__LOrPEWeightsResult, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LOrPEWeightsResult" "', argument " "1"" of type '" "npstat::LOrPEWeightsResult *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsResult * >(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 *LOrPEWeightsResult_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LOrPEWeightsResult_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVRunner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVRunner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVRunner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVRunner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_18(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_19(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_20(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_21(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_22(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_23(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_24(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DVariableDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DVariableDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DVariableDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DVariableDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_25(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVScanner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVScanner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVScanner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_26(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVScanner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVScanner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVScanner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_27(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVScanner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVScanner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVScanner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_28(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVScanner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVScanner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVScanner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_29(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVScanner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVScanner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVScanner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_30(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVScanner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVScanner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVScanner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_31(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVScanner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVScanner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVScanner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_32(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVScanner *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVScanner const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVScanner * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVScanner const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_33(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_34(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_35(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_36(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_37(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_38(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_39(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights__SWIG_40(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = 0 ;
npstat::LOrPE1DFixedDegreeCVPicker *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
npstat::LOrPEWeightsLocalConvergence *arg5 = 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
SwigValueWrapper< npstat::LOrPEWeightsResult > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "1"" of type '" "npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "2"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(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 '" "solveForLOrPEWeights" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', 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 '" "solveForLOrPEWeights" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "solveForLOrPEWeights" "', argument " "5"" of type '" "npstat::LOrPEWeightsLocalConvergence const &""'");
}
arg5 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "solveForLOrPEWeights" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(*arg1,(npstat::LOrPE1DFixedDegreeCVPicker const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4,(npstat::LOrPEWeightsLocalConvergence const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LOrPEWeightsResult(static_cast< const npstat::LOrPEWeightsResult& >(result))), SWIGTYPE_p_npstat__LOrPEWeightsResult, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_solveForLOrPEWeights(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "solveForLOrPEWeights", 0, 6, argv))) SWIG_fail;
--argc;
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_12(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_13(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_14(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_15(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVRunner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_16(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_17(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_18(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_19(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_20(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_21(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_22(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_23(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DVariableDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_24(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_25(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_26(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_27(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_28(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_29(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_30(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_31(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVScanner, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_32(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_33(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_34(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_35(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DLSCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_36(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_37(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_38(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_39(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DRLCVFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 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_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_solveForLOrPEWeights__SWIG_40(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'solveForLOrPEWeights'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &,npstat::LOrPE1DFixedDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &,npstat::LOrPE1DFixedDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &,npstat::LOrPE1DFixedDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &,npstat::LOrPE1DFixedDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &,npstat::LOrPE1DVariableDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &,npstat::LOrPE1DVariableDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DVariableDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DVariableDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &,npstat::LOrPE1DVariableDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &,npstat::LOrPE1DVariableDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DVariableDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVRunner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DVariableDegreeCVRunner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &,npstat::LOrPE1DVariableDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &,npstat::LOrPE1DVariableDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DVariableDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DVariableDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &,npstat::LOrPE1DVariableDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &,npstat::LOrPE1DVariableDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DVariableDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DVariableDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DVariableDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &,npstat::LOrPE1DFixedDegreeCVScanner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &,npstat::LOrPE1DFixedDegreeCVScanner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVScanner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVScanner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &,npstat::LOrPE1DFixedDegreeCVScanner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &,npstat::LOrPE1DFixedDegreeCVScanner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVScanner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVScanner,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVScanner const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,double > &,npstat::LOrPE1DFixedDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &,npstat::LOrPE1DFixedDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DLSCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,double > &,npstat::LOrPE1DFixedDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,double > &,npstat::LOrPE1DFixedDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,double,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n"
" npstat::solveForLOrPEWeights< npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > >,npstat::LOrPE1DFixedDegreeCVPicker,npstat::LOrPEWeightsLocalConvergence >(npstat::LOrPE1DRLCVFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double >,npstat::Functor1RefHelper< double,double > > &,npstat::LOrPE1DFixedDegreeCVPicker const &,npstat::AbsDistribution1D const &,double const,npstat::LOrPEWeightsLocalConvergence const &,unsigned int const)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_convertToHistoAxis__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::HistoAxis result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "convertToHistoAxis" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "convertToHistoAxis" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
{
try {
result = npstat::convertToHistoAxis((npstat::UniformAxis const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::HistoAxis(static_cast< const npstat::HistoAxis& >(result))), SWIGTYPE_p_npstat__HistoAxis, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_convertToGridAxis__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoAxis *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::UniformAxis result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "convertToGridAxis" "', argument " "1"" of type '" "npstat::HistoAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "convertToGridAxis" "', argument " "1"" of type '" "npstat::HistoAxis const &""'");
}
arg1 = reinterpret_cast< npstat::HistoAxis * >(argp1);
{
try {
result = npstat::convertToGridAxis((npstat::HistoAxis const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::UniformAxis(static_cast< const npstat::UniformAxis& >(result))), SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_convertToGridAxis__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::NUHistoAxis *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::GridAxis result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__NUHistoAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "convertToGridAxis" "', argument " "1"" of type '" "npstat::NUHistoAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "convertToGridAxis" "', argument " "1"" of type '" "npstat::NUHistoAxis const &""'");
}
arg1 = reinterpret_cast< npstat::NUHistoAxis * >(argp1);
{
try {
result = npstat::convertToGridAxis((npstat::NUHistoAxis const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::GridAxis(static_cast< const npstat::GridAxis& >(result))), SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_convertToHistoAxis__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::NUHistoAxis result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "convertToHistoAxis" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "convertToHistoAxis" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "convertToHistoAxis" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = npstat::convertToHistoAxis((npstat::GridAxis const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::NUHistoAxis(static_cast< const npstat::NUHistoAxis& >(result))), SWIGTYPE_p_npstat__NUHistoAxis, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_convertToHistoAxis(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "convertToHistoAxis", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_convertToHistoAxis__SWIG_0(self, argc, argv);
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, 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) {
return _wrap_convertToHistoAxis__SWIG_1(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'convertToHistoAxis'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::convertToHistoAxis(npstat::UniformAxis const &)\n"
" npstat::convertToHistoAxis(npstat::GridAxis const &,double)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_convertToGridAxis__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualHistoAxis *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::DualAxis result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualHistoAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "convertToGridAxis" "', argument " "1"" of type '" "npstat::DualHistoAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "convertToGridAxis" "', argument " "1"" of type '" "npstat::DualHistoAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualHistoAxis * >(argp1);
{
try {
result = npstat::convertToGridAxis((npstat::DualHistoAxis const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::DualAxis(static_cast< const npstat::DualAxis& >(result))), SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_convertToGridAxis(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "convertToGridAxis", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_convertToGridAxis__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__NUHistoAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_convertToGridAxis__SWIG_1(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualHistoAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_convertToGridAxis__SWIG_2(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'convertToGridAxis'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::convertToGridAxis(npstat::HistoAxis const &)\n"
" npstat::convertToGridAxis(npstat::NUHistoAxis const &)\n"
" npstat::convertToGridAxis(npstat::DualHistoAxis const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_scannedKSDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *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, "scannedKSDistance", 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 '" "scannedKSDistance" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "scannedKSDistance" "', 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 '" "scannedKSDistance" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "scannedKSDistance" "', 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 '" "scannedKSDistance" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)npstat::scannedKSDistance((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D 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_gaussianResponseMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
unsigned int arg3 ;
double arg4 ;
double arg5 ;
unsigned int arg6 ;
npstat::Functor1< double,double > *arg7 = 0 ;
npstat::Functor1< double,double > *arg8 = 0 ;
unsigned int arg9 ;
double val1 ;
int ecode1 = 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 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
npstat::Matrix< double,16U > result;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gaussianResponseMatrix" "', 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 '" "gaussianResponseMatrix" "', 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 '" "gaussianResponseMatrix" "', 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 '" "gaussianResponseMatrix" "', 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 '" "gaussianResponseMatrix" "', 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 '" "gaussianResponseMatrix" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gaussianResponseMatrix" "', argument " "7"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "7"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg7 = reinterpret_cast< npstat::Functor1< double,double > * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "gaussianResponseMatrix" "', argument " "8"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "8"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg8 = reinterpret_cast< npstat::Functor1< double,double > * >(argp8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "gaussianResponseMatrix" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = npstat::gaussianResponseMatrix(arg1,arg2,arg3,arg4,arg5,arg6,(npstat::Functor1< double,double > const &)*arg7,(npstat::Functor1< double,double > const &)*arg8,arg9);
} 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_gaussianResponseMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
unsigned int arg3 ;
double arg4 ;
double arg5 ;
unsigned int arg6 ;
npstat::Functor1< double,double > *arg7 = 0 ;
npstat::Functor1< double,double > *arg8 = 0 ;
double val1 ;
int ecode1 = 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 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
npstat::Matrix< double,16U > result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gaussianResponseMatrix" "', 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 '" "gaussianResponseMatrix" "', 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 '" "gaussianResponseMatrix" "', 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 '" "gaussianResponseMatrix" "', 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 '" "gaussianResponseMatrix" "', 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 '" "gaussianResponseMatrix" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gaussianResponseMatrix" "', argument " "7"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "7"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg7 = reinterpret_cast< npstat::Functor1< double,double > * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "gaussianResponseMatrix" "', argument " "8"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "8"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg8 = reinterpret_cast< npstat::Functor1< double,double > * >(argp8);
{
try {
result = npstat::gaussianResponseMatrix(arg1,arg2,arg3,arg4,arg5,arg6,(npstat::Functor1< double,double > const &)*arg7,(npstat::Functor1< double,double > const &)*arg8);
} 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_gaussianResponseMatrix__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::NUHistoAxis *arg1 = 0 ;
npstat::NUHistoAxis *arg2 = 0 ;
npstat::Functor1< double,double > *arg3 = 0 ;
npstat::Functor1< double,double > *arg4 = 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
unsigned int 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__NUHistoAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gaussianResponseMatrix" "', argument " "1"" of type '" "npstat::NUHistoAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "1"" of type '" "npstat::NUHistoAxis const &""'");
}
arg1 = reinterpret_cast< npstat::NUHistoAxis * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NUHistoAxis, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gaussianResponseMatrix" "', argument " "2"" of type '" "npstat::NUHistoAxis const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "2"" of type '" "npstat::NUHistoAxis const &""'");
}
arg2 = reinterpret_cast< npstat::NUHistoAxis * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gaussianResponseMatrix" "', argument " "3"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "3"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg3 = reinterpret_cast< npstat::Functor1< double,double > * >(argp3);
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 '" "gaussianResponseMatrix" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg4 = reinterpret_cast< npstat::Functor1< double,double > * >(argp4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gaussianResponseMatrix" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = npstat::gaussianResponseMatrix((npstat::NUHistoAxis const &)*arg1,(npstat::NUHistoAxis const &)*arg2,(npstat::Functor1< double,double > const &)*arg3,(npstat::Functor1< double,double > const &)*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_gaussianResponseMatrix__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::NUHistoAxis *arg1 = 0 ;
npstat::NUHistoAxis *arg2 = 0 ;
npstat::Functor1< double,double > *arg3 = 0 ;
npstat::Functor1< double,double > *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::Matrix< double,16U > result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__NUHistoAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gaussianResponseMatrix" "', argument " "1"" of type '" "npstat::NUHistoAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "1"" of type '" "npstat::NUHistoAxis const &""'");
}
arg1 = reinterpret_cast< npstat::NUHistoAxis * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NUHistoAxis, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gaussianResponseMatrix" "', argument " "2"" of type '" "npstat::NUHistoAxis const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "2"" of type '" "npstat::NUHistoAxis const &""'");
}
arg2 = reinterpret_cast< npstat::NUHistoAxis * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gaussianResponseMatrix" "', argument " "3"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "3"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg3 = reinterpret_cast< npstat::Functor1< double,double > * >(argp3);
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 '" "gaussianResponseMatrix" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gaussianResponseMatrix" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg4 = reinterpret_cast< npstat::Functor1< double,double > * >(argp4);
{
try {
result = npstat::gaussianResponseMatrix((npstat::NUHistoAxis const &)*arg1,(npstat::NUHistoAxis const &)*arg2,(npstat::Functor1< double,double > const &)*arg3,(npstat::Functor1< double,double > const &)*arg4);
} 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_gaussianResponseMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[10] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "gaussianResponseMatrix", 0, 9, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__NUHistoAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NUHistoAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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) {
return _wrap_gaussianResponseMatrix__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__NUHistoAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NUHistoAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_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_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_gaussianResponseMatrix__SWIG_2(self, argc, argv);
}
}
}
}
}
}
if (argc == 8) {
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_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) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_gaussianResponseMatrix__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
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_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) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_gaussianResponseMatrix__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'gaussianResponseMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::gaussianResponseMatrix(double,double,unsigned int,double,double,unsigned int,npstat::Functor1< double,double > const &,npstat::Functor1< double,double > const &,unsigned int)\n"
" npstat::gaussianResponseMatrix(double,double,unsigned int,double,double,unsigned int,npstat::Functor1< double,double > const &,npstat::Functor1< double,double > const &)\n"
" npstat::gaussianResponseMatrix(npstat::NUHistoAxis const &,npstat::NUHistoAxis const &,npstat::Functor1< double,double > const &,npstat::Functor1< double,double > const &,unsigned int)\n"
" npstat::gaussianResponseMatrix(npstat::NUHistoAxis const &,npstat::NUHistoAxis const &,npstat::Functor1< double,double > const &,npstat::Functor1< double,double > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalMultiFilter1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::OrthoPolyFilter1DBuilder *arg2 = 0 ;
unsigned int arg3 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::LocalMultiFilter1D *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_LocalMultiFilter1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__OrthoPolyFilter1DBuilder, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalMultiFilter1D" "', argument " "2"" of type '" "npstat::OrthoPolyFilter1DBuilder const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalMultiFilter1D" "', argument " "2"" of type '" "npstat::OrthoPolyFilter1DBuilder const &""'");
}
arg2 = reinterpret_cast< npstat::OrthoPolyFilter1DBuilder * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LocalMultiFilter1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::LocalMultiFilter1D *)new npstat::LocalMultiFilter1D(arg1,(npstat::OrthoPolyFilter1DBuilder const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalMultiFilter1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LocalMultiFilter1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::LocalMultiFilter1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LocalMultiFilter1D" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalMultiFilter1D" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const &""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
{
try {
result = (npstat::LocalMultiFilter1D *)new npstat::LocalMultiFilter1D((npstat::LocalMultiFilter1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalMultiFilter1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LocalMultiFilter1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LocalMultiFilter1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__LocalMultiFilter1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_LocalMultiFilter1D__SWIG_1(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_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__OrthoPolyFilter1DBuilder, 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_LocalMultiFilter1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LocalMultiFilter1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalMultiFilter1D::LocalMultiFilter1D(unsigned int,npstat::OrthoPolyFilter1DBuilder const &,unsigned int)\n"
" npstat::LocalMultiFilter1D::LocalMultiFilter1D(npstat::LocalMultiFilter1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_LocalMultiFilter1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 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__LocalMultiFilter1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalMultiFilter1D" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(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_LocalMultiFilter1D___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
npstat::LocalMultiFilter1D *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, "LocalMultiFilter1D___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D___eq__" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalMultiFilter1D___eq__" "', argument " "2"" of type '" "npstat::LocalMultiFilter1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalMultiFilter1D___eq__" "', argument " "2"" of type '" "npstat::LocalMultiFilter1D const &""'");
}
arg2 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp2);
{
try {
result = (bool)((npstat::LocalMultiFilter1D const *)arg1)->operator ==((npstat::LocalMultiFilter1D 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_LocalMultiFilter1D___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
npstat::LocalMultiFilter1D *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, "LocalMultiFilter1D___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D___ne__" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalMultiFilter1D___ne__" "', argument " "2"" of type '" "npstat::LocalMultiFilter1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalMultiFilter1D___ne__" "', argument " "2"" of type '" "npstat::LocalMultiFilter1D const &""'");
}
arg2 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp2);
{
try {
result = (bool)((npstat::LocalMultiFilter1D const *)arg1)->operator !=((npstat::LocalMultiFilter1D 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_LocalMultiFilter1D_maxDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 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__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_maxDegree" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalMultiFilter1D 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_LocalMultiFilter1D_dataLen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 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__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_dataLen" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalMultiFilter1D 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_LocalMultiFilter1D_getFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 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] ;
npstat::PolyFilter1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LocalMultiFilter1D_getFilter", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_getFilter" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalMultiFilter1D_getFilter" "', 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 '" "LocalMultiFilter1D_getFilter" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::PolyFilter1D *) &((npstat::LocalMultiFilter1D const *)arg1)->getFilter(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PolyFilter1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalMultiFilter1D_getFilterMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::Matrix< double > result;
if (!SWIG_Python_UnpackTuple(args, "LocalMultiFilter1D_getFilterMatrix", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_getFilterMatrix" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalMultiFilter1D_getFilterMatrix" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = ((npstat::LocalMultiFilter1D const *)arg1)->getFilterMatrix(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_LocalMultiFilter1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 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__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_classId" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
{
try {
result = ((npstat::LocalMultiFilter1D 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_LocalMultiFilter1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 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, "LocalMultiFilter1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_write" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(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 '" "LocalMultiFilter1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalMultiFilter1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::LocalMultiFilter1D 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_LocalMultiFilter1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LocalMultiFilter1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::LocalMultiFilter1D::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_LocalMultiFilter1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "LocalMultiFilter1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::LocalMultiFilter1D::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_LocalMultiFilter1D_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::LocalMultiFilter1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LocalMultiFilter1D_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 '" "LocalMultiFilter1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalMultiFilter1D_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 '" "LocalMultiFilter1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalMultiFilter1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::LocalMultiFilter1D *)npstat::LocalMultiFilter1D::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__LocalMultiFilter1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalMultiFilter1D_filter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
bool val5 ;
int ecode5 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_filter" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalMultiFilter1D_filter" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(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_bool(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LocalMultiFilter1D_filter" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (PyObject *)((npstat::LocalMultiFilter1D const *)arg1)->filter_2(arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = 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_LocalMultiFilter1D_filter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_filter" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalMultiFilter1D_filter" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(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);
}
{
try {
result = (PyObject *)((npstat::LocalMultiFilter1D const *)arg1)->filter_2(arg2,(double const *)arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = 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_LocalMultiFilter1D_filter(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalMultiFilter1D_filter", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
if (argc <= 3) {
return _wrap_LocalMultiFilter1D_filter__SWIG_1(self, argc, argv);
}
return _wrap_LocalMultiFilter1D_filter__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
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_LocalMultiFilter1D_filter__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalMultiFilter1D_filter'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalMultiFilter1D::filter_2(unsigned int,double const *,unsigned int,bool const) const\n"
" npstat::LocalMultiFilter1D::filter_2(unsigned int,double const *,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LocalMultiFilter1D_convolve__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
bool val5 ;
int ecode5 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_convolve" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalMultiFilter1D_convolve" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(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_bool(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LocalMultiFilter1D_convolve" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (PyObject *)((npstat::LocalMultiFilter1D const *)arg1)->convolve_2(arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = 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_LocalMultiFilter1D_convolve__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_convolve" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalMultiFilter1D_convolve" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(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);
}
{
try {
result = (PyObject *)((npstat::LocalMultiFilter1D const *)arg1)->convolve_2(arg2,(double const *)arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = 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_LocalMultiFilter1D_convolve(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalMultiFilter1D_convolve", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
if (argc <= 3) {
return _wrap_LocalMultiFilter1D_convolve__SWIG_1(self, argc, argv);
}
return _wrap_LocalMultiFilter1D_convolve__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
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_LocalMultiFilter1D_convolve__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalMultiFilter1D_convolve'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalMultiFilter1D::convolve_2(unsigned int,double const *,unsigned int,bool const) const\n"
" npstat::LocalMultiFilter1D::convolve_2(unsigned int,double const *,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LocalMultiFilter1D_filterIntoBuffer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double *arg5 = (double *) 0 ;
unsigned int arg6 ;
bool arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyArrayObject *array5 = NULL ;
int i5 = 1 ;
bool val7 ;
int ecode7 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_filterIntoBuffer" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalMultiFilter1D_filterIntoBuffer" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(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);
}
{
array5 = obj_to_array_no_conversion(swig_obj[3], NPY_DOUBLE);
if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
|| !require_native(array5)) SWIG_fail;
arg5 = (double*) array_data(array5);
arg6 = 1;
for (i5=0; i5 < array_numdims(array5); ++i5) arg6 *= array_size(array5,i5);
}
ecode7 = SWIG_AsVal_bool(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LocalMultiFilter1D_filterIntoBuffer" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
try {
((npstat::LocalMultiFilter1D const *)arg1)->filterIntoBuffer(arg2,(double const *)arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalMultiFilter1D_filterIntoBuffer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double *arg5 = (double *) 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyArrayObject *array5 = NULL ;
int i5 = 1 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_filterIntoBuffer" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalMultiFilter1D_filterIntoBuffer" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(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);
}
{
array5 = obj_to_array_no_conversion(swig_obj[3], NPY_DOUBLE);
if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
|| !require_native(array5)) SWIG_fail;
arg5 = (double*) array_data(array5);
arg6 = 1;
for (i5=0; i5 < array_numdims(array5); ++i5) arg6 *= array_size(array5,i5);
}
{
try {
((npstat::LocalMultiFilter1D const *)arg1)->filterIntoBuffer(arg2,(double const *)arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalMultiFilter1D_filterIntoBuffer(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalMultiFilter1D_filterIntoBuffer", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
{
_v = is_array(argv[3]) && PyArray_EquivTypenums(array_type(argv[3]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 4) {
return _wrap_LocalMultiFilter1D_filterIntoBuffer__SWIG_1(self, argc, argv);
}
return _wrap_LocalMultiFilter1D_filterIntoBuffer__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
{
_v = is_array(argv[3]) && PyArray_EquivTypenums(array_type(argv[3]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalMultiFilter1D_filterIntoBuffer__SWIG_0(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalMultiFilter1D_filterIntoBuffer'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalMultiFilter1D::filterIntoBuffer(unsigned int,double const *,unsigned int,double *,unsigned int,bool const) const\n"
" npstat::LocalMultiFilter1D::filterIntoBuffer(unsigned int,double const *,unsigned int,double *,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LocalMultiFilter1D_convolveIntoBuffer__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double *arg5 = (double *) 0 ;
unsigned int arg6 ;
bool arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyArrayObject *array5 = NULL ;
int i5 = 1 ;
bool val7 ;
int ecode7 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_convolveIntoBuffer" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalMultiFilter1D_convolveIntoBuffer" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(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);
}
{
array5 = obj_to_array_no_conversion(swig_obj[3], NPY_DOUBLE);
if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
|| !require_native(array5)) SWIG_fail;
arg5 = (double*) array_data(array5);
arg6 = 1;
for (i5=0; i5 < array_numdims(array5); ++i5) arg6 *= array_size(array5,i5);
}
ecode7 = SWIG_AsVal_bool(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LocalMultiFilter1D_convolveIntoBuffer" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
try {
((npstat::LocalMultiFilter1D const *)arg1)->convolveIntoBuffer(arg2,(double const *)arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalMultiFilter1D_convolveIntoBuffer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalMultiFilter1D *arg1 = (npstat::LocalMultiFilter1D *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double *arg5 = (double *) 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyArrayObject *array5 = NULL ;
int i5 = 1 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalMultiFilter1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalMultiFilter1D_convolveIntoBuffer" "', argument " "1"" of type '" "npstat::LocalMultiFilter1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocalMultiFilter1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalMultiFilter1D_convolveIntoBuffer" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(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);
}
{
array5 = obj_to_array_no_conversion(swig_obj[3], NPY_DOUBLE);
if (!array5 || !require_dimensions(array5,1) || !require_contiguous(array5)
|| !require_native(array5)) SWIG_fail;
arg5 = (double*) array_data(array5);
arg6 = 1;
for (i5=0; i5 < array_numdims(array5); ++i5) arg6 *= array_size(array5,i5);
}
{
try {
((npstat::LocalMultiFilter1D const *)arg1)->convolveIntoBuffer(arg2,(double const *)arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalMultiFilter1D_convolveIntoBuffer(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalMultiFilter1D_convolveIntoBuffer", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
{
_v = is_array(argv[3]) && PyArray_EquivTypenums(array_type(argv[3]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 4) {
return _wrap_LocalMultiFilter1D_convolveIntoBuffer__SWIG_1(self, argc, argv);
}
return _wrap_LocalMultiFilter1D_convolveIntoBuffer__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalMultiFilter1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
{
_v = is_array(argv[3]) && PyArray_EquivTypenums(array_type(argv[3]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalMultiFilter1D_convolveIntoBuffer__SWIG_0(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalMultiFilter1D_convolveIntoBuffer'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalMultiFilter1D::convolveIntoBuffer(unsigned int,double const *,unsigned int,double *,unsigned int,bool const) const\n"
" npstat::LocalMultiFilter1D::convolveIntoBuffer(unsigned int,double const *,unsigned int,double *,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *LocalMultiFilter1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalMultiFilter1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalMultiFilter1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_symbetaMultiFilter1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
double arg5 ;
double arg6 ;
npstat::BoundaryHandling *arg7 = 0 ;
unsigned char *arg8 = (unsigned char *) 0 ;
unsigned int arg9 ;
bool arg10 ;
int val1 ;
int ecode1 = 0 ;
double 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 ;
void *argp7 = 0 ;
int res7 = 0 ;
PyArrayObject *array8 = NULL ;
int is_new_object8 = 0 ;
bool val10 ;
int ecode10 = 0 ;
npstat::LocalMultiFilter1D *result = 0 ;
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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "symbetaMultiFilter1D" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
arg7 = reinterpret_cast< npstat::BoundaryHandling * >(argp7);
{
npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UBYTE,
&is_new_object8);
if (!array8 || !require_dimensions(array8, 1) ||
!require_size(array8, size, 1)) SWIG_fail;
arg8 = (unsigned char*) array_data(array8);
arg9 = (int) array_size(array8,0);
}
ecode10 = SWIG_AsVal_bool(swig_obj[8], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "symbetaMultiFilter1D" "', argument " "10"" of type '" "bool""'");
}
arg10 = static_cast< bool >(val10);
{
try {
result = (npstat::LocalMultiFilter1D *)npstat::symbetaMultiFilter1D_2(arg1,arg2,arg3,arg4,arg5,arg6,(npstat::BoundaryHandling const &)*arg7,(unsigned char const *)arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalMultiFilter1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object8 && array8)
{
Py_DECREF(array8);
}
}
return resultobj;
fail:
{
if (is_new_object8 && array8)
{
Py_DECREF(array8);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_symbetaMultiFilter1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
double arg5 ;
double arg6 ;
npstat::BoundaryHandling *arg7 = 0 ;
unsigned char *arg8 = (unsigned char *) 0 ;
unsigned int arg9 ;
int val1 ;
int ecode1 = 0 ;
double 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 ;
void *argp7 = 0 ;
int res7 = 0 ;
PyArrayObject *array8 = NULL ;
int is_new_object8 = 0 ;
npstat::LocalMultiFilter1D *result = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', 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 '" "symbetaMultiFilter1D" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "symbetaMultiFilter1D" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
arg7 = reinterpret_cast< npstat::BoundaryHandling * >(argp7);
{
npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UBYTE,
&is_new_object8);
if (!array8 || !require_dimensions(array8, 1) ||
!require_size(array8, size, 1)) SWIG_fail;
arg8 = (unsigned char*) array_data(array8);
arg9 = (int) array_size(array8,0);
}
{
try {
result = (npstat::LocalMultiFilter1D *)npstat::symbetaMultiFilter1D_2(arg1,arg2,arg3,arg4,arg5,arg6,(npstat::BoundaryHandling const &)*arg7,(unsigned char const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalMultiFilter1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object8 && array8)
{
Py_DECREF(array8);
}
}
return resultobj;
fail:
{
if (is_new_object8 && array8)
{
Py_DECREF(array8);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_symbetaMultiFilter1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[10] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "symbetaMultiFilter1D", 0, 9, argv))) SWIG_fail;
--argc;
if (argc == 8) {
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_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_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) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
if (argc <= 8) {
return _wrap_symbetaMultiFilter1D__SWIG_1(self, argc, argv);
}
return _wrap_symbetaMultiFilter1D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
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_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_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) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_symbetaMultiFilter1D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'symbetaMultiFilter1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::symbetaMultiFilter1D_2(int,double,unsigned int,unsigned int,double,double,npstat::BoundaryHandling const &,unsigned char const *,unsigned int,bool)\n"
" npstat::symbetaMultiFilter1D_2(int,double,unsigned int,unsigned int,double,double,npstat::BoundaryHandling const &,unsigned char const *,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DeltaMixture1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::DeltaMixture1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DeltaMixture1D_clone" "', argument " "1"" of type '" "npstat::DeltaMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(argp1);
{
try {
result = (npstat::DeltaMixture1D *)((npstat::DeltaMixture1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DeltaMixture1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DeltaMixture1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 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__DeltaMixture1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DeltaMixture1D" "', argument " "1"" of type '" "npstat::DeltaMixture1D *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(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_DeltaMixture1D_nComponents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 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__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DeltaMixture1D_nComponents" "', argument " "1"" of type '" "npstat::DeltaMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(argp1);
{
try {
result = (unsigned int)((npstat::DeltaMixture1D const *)arg1)->nComponents();
} 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_DeltaMixture1D_getLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 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, "DeltaMixture1D_getLocation", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DeltaMixture1D_getLocation" "', argument " "1"" of type '" "npstat::DeltaMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DeltaMixture1D_getLocation" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::DeltaMixture1D 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_DeltaMixture1D_getWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 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, "DeltaMixture1D_getWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DeltaMixture1D_getWeight" "', argument " "1"" of type '" "npstat::DeltaMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DeltaMixture1D_getWeight" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::DeltaMixture1D const *)arg1)->getWeight(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_DeltaMixture1D_integral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 0 ;
double arg2 ;
bool arg3 ;
double arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DeltaMixture1D_integral", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DeltaMixture1D_integral" "', argument " "1"" of type '" "npstat::DeltaMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DeltaMixture1D_integral" "', 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 '" "DeltaMixture1D_integral" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DeltaMixture1D_integral" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DeltaMixture1D_integral" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (double)((npstat::DeltaMixture1D const *)arg1)->integral(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_DeltaMixture1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 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__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DeltaMixture1D_classId" "', argument " "1"" of type '" "npstat::DeltaMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(argp1);
{
try {
result = ((npstat::DeltaMixture1D 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_DeltaMixture1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 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, "DeltaMixture1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DeltaMixture1D_write" "', argument " "1"" of type '" "npstat::DeltaMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(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 '" "DeltaMixture1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DeltaMixture1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::DeltaMixture1D 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_DeltaMixture1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DeltaMixture1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::DeltaMixture1D::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_DeltaMixture1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DeltaMixture1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::DeltaMixture1D::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_DeltaMixture1D_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::DeltaMixture1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DeltaMixture1D_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 '" "DeltaMixture1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DeltaMixture1D_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 '" "DeltaMixture1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DeltaMixture1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::DeltaMixture1D *)npstat::DeltaMixture1D::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__DeltaMixture1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DeltaMixture1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double *arg5 = (double *) 0 ;
unsigned int arg6 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
npstat::DeltaMixture1D *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_DeltaMixture1D" "', 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_DeltaMixture1D" "', 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);
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
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);
}
{
try {
result = (npstat::DeltaMixture1D *)new npstat::DeltaMixture1D(arg1,arg2,(double const *)arg3,arg4,(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__DeltaMixture1D, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DeltaMixture1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
npstat::DeltaMixture1D *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_DeltaMixture1D" "', 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_DeltaMixture1D" "', 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);
}
{
try {
result = (npstat::DeltaMixture1D *)new npstat::DeltaMixture1D(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__DeltaMixture1D, SWIG_POINTER_NEW | 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_new_DeltaMixture1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DeltaMixture1D", 0, 4, argv))) SWIG_fail;
--argc;
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) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
if (argc <= 3) {
return _wrap_new_DeltaMixture1D__SWIG_2(self, argc, argv);
}
return _wrap_new_DeltaMixture1D__SWIG_2(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) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
if (argc <= 4) {
return _wrap_new_DeltaMixture1D__SWIG_1(self, argc, argv);
}
return _wrap_new_DeltaMixture1D__SWIG_1(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DeltaMixture1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::DeltaMixture1D::DeltaMixture1D(double const,double const,double const *,unsigned int,double const *,unsigned int)\n"
" npstat::DeltaMixture1D::DeltaMixture1D(double const,double const,double const *,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DeltaMixture1D_moment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 0 ;
double arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DeltaMixture1D_moment", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DeltaMixture1D_moment" "', argument " "1"" of type '" "npstat::DeltaMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DeltaMixture1D_moment" "', 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 '" "DeltaMixture1D_moment" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::DeltaMixture1D const *)arg1)->moment_2(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_DeltaMixture1D_moments(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 0 ;
double arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
std::vector< double,std::allocator< double > > result;
if (!SWIG_Python_UnpackTuple(args, "DeltaMixture1D_moments", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DeltaMixture1D_moments" "', argument " "1"" of type '" "npstat::DeltaMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DeltaMixture1D_moments" "', 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 '" "DeltaMixture1D_moments" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = ((npstat::DeltaMixture1D const *)arg1)->moments_2(arg2,arg3);
} 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_DeltaMixture1D_centralMoments(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *arg1 = (npstat::DeltaMixture1D *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< double,std::allocator< double > > result;
if (!SWIG_Python_UnpackTuple(args, "DeltaMixture1D_centralMoments", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DeltaMixture1D_centralMoments" "', argument " "1"" of type '" "npstat::DeltaMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DeltaMixture1D_centralMoments" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = ((npstat::DeltaMixture1D const *)arg1)->centralMoments_2(arg2);
} 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 *DeltaMixture1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DeltaMixture1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DeltaMixture1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_DeltaMixture1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *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::DeltaMixture1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_DeltaMixture1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_DeltaMixture1D" "', argument " "1"" of type '" "npstat::DeltaMixture1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_DeltaMixture1D" "', argument " "1"" of type '" "npstat::DeltaMixture1D const &""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_DeltaMixture1D" "', 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_DeltaMixture1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::DeltaMixture1D > *)new gs::ArchiveRecord< npstat::DeltaMixture1D >((npstat::DeltaMixture1D 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__DeltaMixture1D_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_DeltaMixture1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::DeltaMixture1D > *arg1 = (gs::ArchiveRecord< npstat::DeltaMixture1D > *) 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__DeltaMixture1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_DeltaMixture1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::DeltaMixture1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::DeltaMixture1D > * >(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_DeltaMixture1D_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__DeltaMixture1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_DeltaMixture1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_135(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DeltaMixture1D *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::DeltaMixture1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::DeltaMixture1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::DeltaMixture1D const &""'");
}
arg1 = reinterpret_cast< npstat::DeltaMixture1D * >(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::DeltaMixture1D >((npstat::DeltaMixture1D 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::DeltaMixture1D >(static_cast< const gs::ArchiveRecord< npstat::DeltaMixture1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__DeltaMixture1D_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_DeltaMixture1D__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::DeltaMixture1D > *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_DeltaMixture1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DeltaMixture1D" "', 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_DeltaMixture1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::DeltaMixture1D > *)new gs::Reference< npstat::DeltaMixture1D >(*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__DeltaMixture1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DeltaMixture1D__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::DeltaMixture1D > *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_DeltaMixture1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DeltaMixture1D" "', 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_DeltaMixture1D" "', 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_DeltaMixture1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::DeltaMixture1D > *)new gs::Reference< npstat::DeltaMixture1D >(*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__DeltaMixture1D_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_DeltaMixture1D__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::DeltaMixture1D > *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_DeltaMixture1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DeltaMixture1D" "', 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_DeltaMixture1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DeltaMixture1D" "', 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_DeltaMixture1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DeltaMixture1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::DeltaMixture1D > *)new gs::Reference< npstat::DeltaMixture1D >(*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__DeltaMixture1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DeltaMixture1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_DeltaMixture1D", 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_DeltaMixture1D__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_DeltaMixture1D__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_DeltaMixture1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_DeltaMixture1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::DeltaMixture1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::DeltaMixture1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::DeltaMixture1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_DeltaMixture1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DeltaMixture1D > *arg1 = (gs::Reference< npstat::DeltaMixture1D > *) 0 ;
unsigned long arg2 ;
npstat::DeltaMixture1D *arg3 = (npstat::DeltaMixture1D *) 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_DeltaMixture1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DeltaMixture1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DeltaMixture1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::DeltaMixture1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DeltaMixture1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DeltaMixture1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__DeltaMixture1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_DeltaMixture1D_restore" "', argument " "3"" of type '" "npstat::DeltaMixture1D *""'");
}
arg3 = reinterpret_cast< npstat::DeltaMixture1D * >(argp3);
{
try {
((gs::Reference< npstat::DeltaMixture1D > 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_DeltaMixture1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DeltaMixture1D > *arg1 = (gs::Reference< npstat::DeltaMixture1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::DeltaMixture1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_DeltaMixture1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DeltaMixture1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DeltaMixture1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::DeltaMixture1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DeltaMixture1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DeltaMixture1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::DeltaMixture1D *)gs_Reference_Sl_npstat_DeltaMixture1D_Sg__retrieve((gs::Reference< npstat::DeltaMixture1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DeltaMixture1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_DeltaMixture1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DeltaMixture1D > *arg1 = (gs::Reference< npstat::DeltaMixture1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::DeltaMixture1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_DeltaMixture1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DeltaMixture1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DeltaMixture1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::DeltaMixture1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DeltaMixture1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DeltaMixture1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_DeltaMixture1D_Sg__getValue((gs::Reference< npstat::DeltaMixture1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::DeltaMixture1D(static_cast< const npstat::DeltaMixture1D& >(result))), SWIGTYPE_p_npstat__DeltaMixture1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_DeltaMixture1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DeltaMixture1D > *arg1 = (gs::Reference< npstat::DeltaMixture1D > *) 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__DeltaMixture1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_DeltaMixture1D" "', argument " "1"" of type '" "gs::Reference< npstat::DeltaMixture1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DeltaMixture1D > * >(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_DeltaMixture1D_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__DeltaMixture1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_DeltaMixture1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_scanSymmetricDensityAsWeight2__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistributionND *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
bool arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
PyArrayObject *array6 = NULL ;
int is_new_object6 = 0 ;
bool val8 ;
int ecode8 = 0 ;
npstat::ArrayND< double,1U,10U > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) 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 '" "scanSymmetricDensityAsWeight2" "', argument " "1"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "scanSymmetricDensityAsWeight2" "', 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_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);
}
{
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);
}
{
npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
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_bool(swig_obj[4], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "scanSymmetricDensityAsWeight2" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
try {
result = (npstat::ArrayND< double,1U,10U > *)npstat::scanSymmetricDensityAsWeight2((npstat::AbsDistributionND const &)*arg1,(unsigned int const *)arg2,arg3,(double const *)arg4,arg5,(double const *)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_double_1U_10U_t, SWIG_POINTER_OWN | 0 );
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_scanSymmetricDensityAsWeight2__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistributionND *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
PyArrayObject *array6 = NULL ;
int is_new_object6 = 0 ;
npstat::ArrayND< double,1U,10U > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) 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 '" "scanSymmetricDensityAsWeight2" "', argument " "1"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "scanSymmetricDensityAsWeight2" "', 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_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);
}
{
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);
}
{
npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
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);
}
{
try {
result = (npstat::ArrayND< double,1U,10U > *)npstat::scanSymmetricDensityAsWeight2((npstat::AbsDistributionND const &)*arg1,(unsigned int const *)arg2,arg3,(double const *)arg4,arg5,(double const *)arg6,arg7);
} 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 );
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_scanSymmetricDensityAsWeight2(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "scanSymmetricDensityAsWeight2", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
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) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
if (argc <= 4) {
return _wrap_scanSymmetricDensityAsWeight2__SWIG_1(self, argc, argv);
}
return _wrap_scanSymmetricDensityAsWeight2__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
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) {
{
_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_scanSymmetricDensityAsWeight2__SWIG_0(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'scanSymmetricDensityAsWeight2'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::scanSymmetricDensityAsWeight2(npstat::AbsDistributionND const &,unsigned int const *,unsigned int,double const *,unsigned int,double const *,unsigned int,bool const)\n"
" npstat::scanSymmetricDensityAsWeight2(npstat::AbsDistributionND const &,unsigned int const *,unsigned int,double const *,unsigned int,double const *,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_UCharBandwidthCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< 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__BandwidthCVLeastSquaresNDT_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_UCharBandwidthCVLeastSquaresND" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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_UCharBandwidthCVLeastSquaresND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< unsigned char > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::AbsPolyFilterND *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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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 '" "UCharBandwidthCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVLeastSquaresND___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 '" "UCharBandwidthCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVLeastSquaresND___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__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "UCharBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg4 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp4);
{
try {
result = (double)((npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< unsigned char > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::AbsPolyFilterND const &)*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_UCharBandwidthCVLeastSquaresND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< unsigned char > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 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 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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 '" "UCharBandwidthCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVLeastSquaresND___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 '" "UCharBandwidthCVLeastSquaresND___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 '" "UCharBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVLeastSquaresND___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 '" "UCharBandwidthCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< unsigned char > const &)*arg2,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_UCharBandwidthCVLeastSquaresND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "UCharBandwidthCVLeastSquaresND___call__", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_UCharBandwidthCVLeastSquaresND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_UCharBandwidthCVLeastSquaresND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharBandwidthCVLeastSquaresND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > >::operator ()(npstat::HistoND< unsigned char > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > >::operator ()(npstat::HistoND< unsigned char > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UCharBandwidthCVLeastSquaresND", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *)new npstat::BandwidthCVLeastSquaresND< 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__BandwidthCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *UCharBandwidthCVLeastSquaresND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharBandwidthCVLeastSquaresND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_IntBandwidthCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< 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__BandwidthCVLeastSquaresNDT_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_IntBandwidthCVLeastSquaresND" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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_IntBandwidthCVLeastSquaresND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< int > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::AbsPolyFilterND *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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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 '" "IntBandwidthCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVLeastSquaresND___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 '" "IntBandwidthCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVLeastSquaresND___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__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "IntBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg4 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp4);
{
try {
result = (double)((npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< int > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::AbsPolyFilterND const &)*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_IntBandwidthCVLeastSquaresND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< int > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 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 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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 '" "IntBandwidthCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVLeastSquaresND___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 '" "IntBandwidthCVLeastSquaresND___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 '" "IntBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVLeastSquaresND___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 '" "IntBandwidthCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< int > const &)*arg2,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_IntBandwidthCVLeastSquaresND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "IntBandwidthCVLeastSquaresND___call__", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_IntBandwidthCVLeastSquaresND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_IntBandwidthCVLeastSquaresND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'IntBandwidthCVLeastSquaresND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > >::operator ()(npstat::HistoND< int > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > >::operator ()(npstat::HistoND< int > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_IntBandwidthCVLeastSquaresND", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVLeastSquaresND< int,npstat::ArrayND< double > > *)new npstat::BandwidthCVLeastSquaresND< 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__BandwidthCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *IntBandwidthCVLeastSquaresND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntBandwidthCVLeastSquaresND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LongBandwidthCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< 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__BandwidthCVLeastSquaresNDT_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_LongBandwidthCVLeastSquaresND" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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_LongBandwidthCVLeastSquaresND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< long > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::AbsPolyFilterND *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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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 '" "LongBandwidthCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVLeastSquaresND___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 '" "LongBandwidthCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVLeastSquaresND___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__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LongBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg4 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp4);
{
try {
result = (double)((npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< long > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::AbsPolyFilterND const &)*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_LongBandwidthCVLeastSquaresND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< long > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 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 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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 '" "LongBandwidthCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVLeastSquaresND___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 '" "LongBandwidthCVLeastSquaresND___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 '" "LongBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVLeastSquaresND___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 '" "LongBandwidthCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< long > const &)*arg2,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_LongBandwidthCVLeastSquaresND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LongBandwidthCVLeastSquaresND___call__", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LongBandwidthCVLeastSquaresND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LongBandwidthCVLeastSquaresND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LongBandwidthCVLeastSquaresND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > >::operator ()(npstat::HistoND< long > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > >::operator ()(npstat::HistoND< long > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LongBandwidthCVLeastSquaresND", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVLeastSquaresND< long,npstat::ArrayND< double > > *)new npstat::BandwidthCVLeastSquaresND< 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__BandwidthCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LongBandwidthCVLeastSquaresND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongBandwidthCVLeastSquaresND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_FloatBandwidthCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< 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__BandwidthCVLeastSquaresNDT_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_FloatBandwidthCVLeastSquaresND" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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_FloatBandwidthCVLeastSquaresND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< float > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::AbsPolyFilterND *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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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 '" "FloatBandwidthCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVLeastSquaresND___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 '" "FloatBandwidthCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVLeastSquaresND___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__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg4 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp4);
{
try {
result = (double)((npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< float > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::AbsPolyFilterND const &)*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_FloatBandwidthCVLeastSquaresND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< float > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 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 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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 '" "FloatBandwidthCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVLeastSquaresND___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 '" "FloatBandwidthCVLeastSquaresND___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 '" "FloatBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVLeastSquaresND___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 '" "FloatBandwidthCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< float > const &)*arg2,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_FloatBandwidthCVLeastSquaresND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatBandwidthCVLeastSquaresND___call__", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatBandwidthCVLeastSquaresND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatBandwidthCVLeastSquaresND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatBandwidthCVLeastSquaresND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > >::operator ()(npstat::HistoND< float > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > >::operator ()(npstat::HistoND< float > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FloatBandwidthCVLeastSquaresND", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVLeastSquaresND< float,npstat::ArrayND< double > > *)new npstat::BandwidthCVLeastSquaresND< 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__BandwidthCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatBandwidthCVLeastSquaresND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatBandwidthCVLeastSquaresND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_DoubleBandwidthCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< 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__BandwidthCVLeastSquaresNDT_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_DoubleBandwidthCVLeastSquaresND" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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_DoubleBandwidthCVLeastSquaresND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< double > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::AbsPolyFilterND *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 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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 '" "DoubleBandwidthCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVLeastSquaresND___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 '" "DoubleBandwidthCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVLeastSquaresND___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__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg4 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp4);
{
try {
result = (double)((npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< double > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::AbsPolyFilterND const &)*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_DoubleBandwidthCVLeastSquaresND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< double > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 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 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquaresND< 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 '" "DoubleBandwidthCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVLeastSquaresND___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 '" "DoubleBandwidthCVLeastSquaresND___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 '" "DoubleBandwidthCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVLeastSquaresND___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 '" "DoubleBandwidthCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< double > const &)*arg2,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_DoubleBandwidthCVLeastSquaresND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleBandwidthCVLeastSquaresND___call__", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleBandwidthCVLeastSquaresND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_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__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleBandwidthCVLeastSquaresND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleBandwidthCVLeastSquaresND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > >::operator ()(npstat::HistoND< double > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > >::operator ()(npstat::HistoND< double > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleBandwidthCVLeastSquaresND", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVLeastSquaresND< double,npstat::ArrayND< double > > *)new npstat::BandwidthCVLeastSquaresND< 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__BandwidthCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleBandwidthCVLeastSquaresND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleBandwidthCVLeastSquaresND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_randomHistoFillCND__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::AbsDistributionND *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 '" "randomHistoFillCND" "', 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 '" "randomHistoFillCND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillCND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillCND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillCND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillCND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< float,npstat::HistoAxis > >(arg1,*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_randomHistoFillCND__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::AbsDistributionND *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 '" "randomHistoFillCND" "', 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 '" "randomHistoFillCND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillCND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillCND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillCND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillCND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< double,npstat::HistoAxis > >(arg1,*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_randomHistoFillCND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "randomHistoFillCND", 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__AbsDistributionND, 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_randomHistoFillCND__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__AbsDistributionND, 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_randomHistoFillCND__SWIG_2(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'randomHistoFillCND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::randomHistoFillND< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< int,npstat::HistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< long,npstat::HistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< float,npstat::HistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< double,npstat::HistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< unsigned char,npstat::HistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< int,npstat::NUHistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< long,npstat::NUHistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< float,npstat::NUHistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< double,npstat::NUHistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< int,npstat::DualHistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< long,npstat::DualHistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< float,npstat::DualHistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< double,npstat::DualHistoAxis > >(arg1,*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_randomHistoFillND__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::AbsDistributionND *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 '" "randomHistoFillND" "', 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 '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
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 '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillND" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillND" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFillND< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(arg1,*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_randomHistoFillND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "randomHistoFillND", 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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__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__AbsDistributionND, 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_randomHistoFillND__SWIG_15(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'randomHistoFillND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::randomHistoFillND< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< int,npstat::NUHistoAxis > >(npstat::HistoND< int,npstat::NUHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< long,npstat::NUHistoAxis > >(npstat::HistoND< long,npstat::NUHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< float,npstat::NUHistoAxis > >(npstat::HistoND< float,npstat::NUHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< double,npstat::NUHistoAxis > >(npstat::HistoND< double,npstat::NUHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(npstat::HistoND< unsigned char,npstat::NUHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< int,npstat::DualHistoAxis > >(npstat::HistoND< int,npstat::DualHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< long,npstat::DualHistoAxis > >(npstat::HistoND< long,npstat::DualHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< float,npstat::DualHistoAxis > >(npstat::HistoND< float,npstat::DualHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< double,npstat::DualHistoAxis > >(npstat::HistoND< double,npstat::DualHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n"
" npstat::randomHistoFillND< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(npstat::HistoND< unsigned char,npstat::DualHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistributionND const &,unsigned long)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_DoubleKDE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = 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 ;
npstat::KDE1D< double > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "new_DoubleKDE1D" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleKDE1D" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const &""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(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_DoubleKDE1D" "', argument " "2"" of type '" "double const *""'");
}
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 '" "new_DoubleKDE1D" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (npstat::KDE1D< double > *)new npstat::KDE1D< double >((npstat::AbsKDE1DKernel 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__KDE1DT_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleKDE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = 0 ;
std::vector< double,std::allocator< double > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
npstat::KDE1D< double > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "new_DoubleKDE1D" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleKDE1D" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const &""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(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 '" "new_DoubleKDE1D" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleKDE1D" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::KDE1D< double > *)new npstat::KDE1D< double >((npstat::AbsKDE1DKernel const &)*arg1,(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__KDE1DT_double_t, 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_DoubleKDE1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::KDE1D< double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleKDE1D" "', argument " "1"" of type '" "npstat::KDE1D< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleKDE1D" "', argument " "1"" of type '" "npstat::KDE1D< double > const &""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
{
try {
result = (npstat::KDE1D< double > *)new npstat::KDE1D< double >((npstat::KDE1D< double > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__KDE1DT_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleKDE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleKDE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__KDE1DT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleKDE1D__SWIG_2(self, argc, argv);
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsKDE1DKernel, SWIG_POINTER_NO_NULL | 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_DoubleKDE1D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsKDE1DKernel, SWIG_POINTER_NO_NULL | 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_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleKDE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleKDE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::KDE1D< double >::KDE1D(npstat::AbsKDE1DKernel const &,double const *,unsigned long const)\n"
" npstat::KDE1D< double >::KDE1D(npstat::AbsKDE1DKernel const &,std::vector< double,std::allocator< double > > const &)\n"
" npstat::KDE1D< double >::KDE1D(npstat::KDE1D< double > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleKDE1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< 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__KDE1DT_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleKDE1D" "', argument " "1"" of type '" "npstat::KDE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< 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_DoubleKDE1D_setNormFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleKDE1D_setNormFactor", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_setNormFactor" "', argument " "1"" of type '" "npstat::KDE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleKDE1D_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_DoubleKDE1D_setSample__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 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 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_setSample" "', argument " "1"" of type '" "npstat::KDE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< 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 '" "DoubleKDE1D_setSample" "', argument " "2"" of type '" "double const *""'");
}
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 '" "DoubleKDE1D_setSample" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
(arg1)->setSample((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_DoubleKDE1D_setSample__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 0 ;
std::vector< double,std::allocator< double > > *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__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_setSample" "', argument " "1"" of type '" "npstat::KDE1D< double > *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(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 '" "DoubleKDE1D_setSample" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleKDE1D_setSample" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setSample((std::vector< double,std::allocator< double > > 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_DoubleKDE1D_setSample(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleKDE1D_setSample", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__KDE1DT_double_t, 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_DoubleKDE1D_setSample__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__KDE1DT_double_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_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleKDE1D_setSample__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleKDE1D_setSample'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::KDE1D< double >::setSample(double const *,unsigned long const)\n"
" npstat::KDE1D< double >::setSample(std::vector< double,std::allocator< double > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleKDE1D_kernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 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__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_kernel" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
{
try {
result = (npstat::AbsKDE1DKernel *) &((npstat::KDE1D< double > const *)arg1)->kernel();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleKDE1D_normFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< 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__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_normFactor" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
{
try {
result = (double)((npstat::KDE1D< double > 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_DoubleKDE1D_coords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< 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_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_coords" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
{
try {
result = (std::vector< double,std::allocator< double > > *) &((npstat::KDE1D< double > const *)arg1)->coords();
} 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_DoubleKDE1D_nCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< 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__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_nCoords" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
{
try {
result = (unsigned long)((npstat::KDE1D< double > const *)arg1)->nCoords();
} 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_DoubleKDE1D_minCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< 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__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_minCoordinate" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
{
try {
result = (double)((npstat::KDE1D< double > const *)arg1)->minCoordinate();
} 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_DoubleKDE1D_maxCoordinate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< 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__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_maxCoordinate" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
{
try {
result = (double)((npstat::KDE1D< double > const *)arg1)->maxCoordinate();
} 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_DoubleKDE1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 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, "DoubleKDE1D_density", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_density" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleKDE1D_density" "', 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 '" "DoubleKDE1D_density" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::KDE1D< double > const *)arg1)->density(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_DoubleKDE1D_densityFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::KDE1DFunctorHelper< double > > result;
if (!SWIG_Python_UnpackTuple(args, "DoubleKDE1D_densityFunctor", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_densityFunctor" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleKDE1D_densityFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::KDE1D< double > const *)arg1)->densityFunctor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::KDE1DFunctorHelper< double >(static_cast< const npstat::KDE1DFunctorHelper< double >& >(result))), SWIGTYPE_p_npstat__KDE1DFunctorHelperT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleKDE1D_rlcvFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::KDE1DRLCVFunctorHelper< double > > result;
if (!SWIG_Python_UnpackTuple(args, "DoubleKDE1D_rlcvFunctor", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_rlcvFunctor" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleKDE1D_rlcvFunctor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::KDE1D< double > const *)arg1)->rlcvFunctor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::KDE1DRLCVFunctorHelper< double >(static_cast< const npstat::KDE1DRLCVFunctorHelper< double >& >(result))), SWIGTYPE_p_npstat__KDE1DRLCVFunctorHelperT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleKDE1D_lscvFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 0 ;
double arg2 ;
double arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
SwigValueWrapper< npstat::KDE1DLSCVFunctorHelper< double > > result;
if (!SWIG_Python_UnpackTuple(args, "DoubleKDE1D_lscvFunctor", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_lscvFunctor" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleKDE1D_lscvFunctor" "', 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 '" "DoubleKDE1D_lscvFunctor" "', 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 '" "DoubleKDE1D_lscvFunctor" "', 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 '" "DoubleKDE1D_lscvFunctor" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = ((npstat::KDE1D< double > const *)arg1)->lscvFunctor(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::KDE1DLSCVFunctorHelper< double >(static_cast< const npstat::KDE1DLSCVFunctorHelper< double >& >(result))), SWIGTYPE_p_npstat__KDE1DLSCVFunctorHelperT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleKDE1D_densityIntegral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 0 ;
double arg2 ;
double arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
double arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleKDE1D_densityIntegral", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_densityIntegral" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleKDE1D_densityIntegral" "', 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 '" "DoubleKDE1D_densityIntegral" "', 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 '" "DoubleKDE1D_densityIntegral" "', 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 '" "DoubleKDE1D_densityIntegral" "', 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 '" "DoubleKDE1D_densityIntegral" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = (double)((npstat::KDE1D< double > const *)arg1)->densityIntegral(arg2,arg3,arg4,arg5,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_DoubleKDE1D_integratedSquaredError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
double 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 ;
double val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleKDE1D_integratedSquaredError", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_integratedSquaredError" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(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 '" "DoubleKDE1D_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleKDE1D_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 '" "DoubleKDE1D_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 '" "DoubleKDE1D_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 '" "DoubleKDE1D_integratedSquaredError" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (double)((npstat::KDE1D< double > const *)arg1)->integratedSquaredError((npstat::AbsDistribution1D 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_DoubleKDE1D_rlcv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 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, "DoubleKDE1D_rlcv", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_rlcv" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleKDE1D_rlcv" "', 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 '" "DoubleKDE1D_rlcv" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::KDE1D< double > const *)arg1)->rlcv(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_DoubleKDE1D_lscv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1D< double > *arg1 = (npstat::KDE1D< double > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleKDE1D_lscv", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleKDE1D_lscv" "', argument " "1"" of type '" "npstat::KDE1D< double > const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1D< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleKDE1D_lscv" "', 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 '" "DoubleKDE1D_lscv" "', 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 '" "DoubleKDE1D_lscv" "', 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 '" "DoubleKDE1D_lscv" "', 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 '" "DoubleKDE1D_lscv" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (double)((npstat::KDE1D< double > const *)arg1)->lscv(arg2,arg3,arg4,arg5,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 *DoubleKDE1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__KDE1DT_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleKDE1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UCharArrayMinProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< unsigned char > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UCharArrayMinProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMinProjector< unsigned char > *)new npstat::ArrayMinProjector< unsigned char >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMinProjectorT_unsigned_char_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_UCharArrayMinProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< unsigned char > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharArrayMinProjector" "', argument " "1"" of type '" "npstat::ArrayMinProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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_UCharArrayMinProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< unsigned char > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayMinProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMinProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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_UCharArrayMinProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< unsigned char > *arg1 = (npstat::ArrayMinProjector< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned char result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMinProjectorT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayMinProjector_result" "', argument " "1"" of type '" "npstat::ArrayMinProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< unsigned char > * >(argp1);
{
try {
result = (unsigned char)(arg1)->result();
} 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_UCharArrayMinProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< unsigned char > *arg1 = (npstat::ArrayMinProjector< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "UCharArrayMinProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMinProjectorT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayMinProjector_process" "', argument " "1"" of type '" "npstat::ArrayMinProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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 '" "UCharArrayMinProjector_process" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *UCharArrayMinProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMinProjectorT_unsigned_char_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharArrayMinProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntArrayMinProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< int > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_IntArrayMinProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMinProjector< int > *)new npstat::ArrayMinProjector< int >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMinProjectorT_int_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_IntArrayMinProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< int > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_int_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntArrayMinProjector" "', argument " "1"" of type '" "npstat::ArrayMinProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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_IntArrayMinProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< int > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayMinProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMinProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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_IntArrayMinProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< int > *arg1 = (npstat::ArrayMinProjector< int > *) 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__ArrayMinProjectorT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayMinProjector_result" "', argument " "1"" of type '" "npstat::ArrayMinProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< int > * >(argp1);
{
try {
result = (int)(arg1)->result();
} 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_IntArrayMinProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< int > *arg1 = (npstat::ArrayMinProjector< int > *) 0 ;
int *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "IntArrayMinProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMinProjectorT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayMinProjector_process" "', argument " "1"" of type '" "npstat::ArrayMinProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArrayMinProjector_process" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *IntArrayMinProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMinProjectorT_int_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntArrayMinProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongArrayMinProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< long > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LongArrayMinProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMinProjector< long > *)new npstat::ArrayMinProjector< long >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMinProjectorT_long_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LongArrayMinProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< long > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_long_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongArrayMinProjector" "', argument " "1"" of type '" "npstat::ArrayMinProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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_LongArrayMinProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< long > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayMinProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMinProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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_LongArrayMinProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< long > *arg1 = (npstat::ArrayMinProjector< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMinProjectorT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayMinProjector_result" "', argument " "1"" of type '" "npstat::ArrayMinProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< long > * >(argp1);
{
try {
result = (long)(arg1)->result();
} 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_LongArrayMinProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< long > *arg1 = (npstat::ArrayMinProjector< long > *) 0 ;
long *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LongArrayMinProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMinProjectorT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayMinProjector_process" "', argument " "1"" of type '" "npstat::ArrayMinProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArrayMinProjector_process" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *LongArrayMinProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMinProjectorT_long_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongArrayMinProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatArrayMinProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< float > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FloatArrayMinProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMinProjector< float > *)new npstat::ArrayMinProjector< float >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMinProjectorT_float_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_FloatArrayMinProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< float > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_float_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatArrayMinProjector" "', argument " "1"" of type '" "npstat::ArrayMinProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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_FloatArrayMinProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< float > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayMinProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMinProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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_FloatArrayMinProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< float > *arg1 = (npstat::ArrayMinProjector< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
float result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMinProjectorT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayMinProjector_result" "', argument " "1"" of type '" "npstat::ArrayMinProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< float > * >(argp1);
{
try {
result = (float)(arg1)->result();
} 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_FloatArrayMinProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< float > *arg1 = (npstat::ArrayMinProjector< float > *) 0 ;
float *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatArrayMinProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMinProjectorT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayMinProjector_process" "', argument " "1"" of type '" "npstat::ArrayMinProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArrayMinProjector_process" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *FloatArrayMinProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMinProjectorT_float_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatArrayMinProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleArrayMinProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleArrayMinProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMinProjector< double > *)new npstat::ArrayMinProjector< double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMinProjectorT_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleArrayMinProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< double > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleArrayMinProjector" "', argument " "1"" of type '" "npstat::ArrayMinProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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_DoubleArrayMinProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< double > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayMinProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMinProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< 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_DoubleArrayMinProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< double > *arg1 = (npstat::ArrayMinProjector< 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__ArrayMinProjectorT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayMinProjector_result" "', argument " "1"" of type '" "npstat::ArrayMinProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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_DoubleArrayMinProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMinProjector< double > *arg1 = (npstat::ArrayMinProjector< double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleArrayMinProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMinProjectorT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayMinProjector_process" "', argument " "1"" of type '" "npstat::ArrayMinProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMinProjector< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArrayMinProjector_process" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *DoubleArrayMinProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMinProjectorT_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleArrayMinProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UCharArrayMaxProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< unsigned char > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UCharArrayMaxProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMaxProjector< unsigned char > *)new npstat::ArrayMaxProjector< unsigned char >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMaxProjectorT_unsigned_char_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_UCharArrayMaxProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< unsigned char > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharArrayMaxProjector" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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_UCharArrayMaxProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< unsigned char > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayMaxProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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_UCharArrayMaxProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< unsigned char > *arg1 = (npstat::ArrayMaxProjector< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned char result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMaxProjectorT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayMaxProjector_result" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< unsigned char > * >(argp1);
{
try {
result = (unsigned char)(arg1)->result();
} 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_UCharArrayMaxProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< unsigned char > *arg1 = (npstat::ArrayMaxProjector< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "UCharArrayMaxProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMaxProjectorT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayMaxProjector_process" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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 '" "UCharArrayMaxProjector_process" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *UCharArrayMaxProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMaxProjectorT_unsigned_char_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharArrayMaxProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntArrayMaxProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< int > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_IntArrayMaxProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMaxProjector< int > *)new npstat::ArrayMaxProjector< int >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMaxProjectorT_int_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_IntArrayMaxProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< int > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_int_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntArrayMaxProjector" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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_IntArrayMaxProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< int > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayMaxProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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_IntArrayMaxProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< int > *arg1 = (npstat::ArrayMaxProjector< int > *) 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__ArrayMaxProjectorT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayMaxProjector_result" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< int > * >(argp1);
{
try {
result = (int)(arg1)->result();
} 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_IntArrayMaxProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< int > *arg1 = (npstat::ArrayMaxProjector< int > *) 0 ;
int *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "IntArrayMaxProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMaxProjectorT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayMaxProjector_process" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArrayMaxProjector_process" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *IntArrayMaxProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMaxProjectorT_int_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntArrayMaxProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongArrayMaxProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< long > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LongArrayMaxProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMaxProjector< long > *)new npstat::ArrayMaxProjector< long >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMaxProjectorT_long_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LongArrayMaxProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< long > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_long_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongArrayMaxProjector" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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_LongArrayMaxProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< long > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayMaxProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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_LongArrayMaxProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< long > *arg1 = (npstat::ArrayMaxProjector< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMaxProjectorT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayMaxProjector_result" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< long > * >(argp1);
{
try {
result = (long)(arg1)->result();
} 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_LongArrayMaxProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< long > *arg1 = (npstat::ArrayMaxProjector< long > *) 0 ;
long *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LongArrayMaxProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMaxProjectorT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayMaxProjector_process" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArrayMaxProjector_process" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *LongArrayMaxProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMaxProjectorT_long_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongArrayMaxProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatArrayMaxProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< float > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FloatArrayMaxProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMaxProjector< float > *)new npstat::ArrayMaxProjector< float >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMaxProjectorT_float_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_FloatArrayMaxProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< float > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_float_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatArrayMaxProjector" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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_FloatArrayMaxProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< float > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayMaxProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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_FloatArrayMaxProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< float > *arg1 = (npstat::ArrayMaxProjector< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
float result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMaxProjectorT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayMaxProjector_result" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< float > * >(argp1);
{
try {
result = (float)(arg1)->result();
} 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_FloatArrayMaxProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< float > *arg1 = (npstat::ArrayMaxProjector< float > *) 0 ;
float *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatArrayMaxProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMaxProjectorT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayMaxProjector_process" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArrayMaxProjector_process" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *FloatArrayMaxProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMaxProjectorT_float_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatArrayMaxProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleArrayMaxProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleArrayMaxProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMaxProjector< double > *)new npstat::ArrayMaxProjector< double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMaxProjectorT_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleArrayMaxProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< double > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleArrayMaxProjector" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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_DoubleArrayMaxProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< double > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayMaxProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< 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_DoubleArrayMaxProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< double > *arg1 = (npstat::ArrayMaxProjector< 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__ArrayMaxProjectorT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayMaxProjector_result" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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_DoubleArrayMaxProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMaxProjector< double > *arg1 = (npstat::ArrayMaxProjector< double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleArrayMaxProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMaxProjectorT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayMaxProjector_process" "', argument " "1"" of type '" "npstat::ArrayMaxProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMaxProjector< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArrayMaxProjector_process" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *DoubleArrayMaxProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMaxProjectorT_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleArrayMaxProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UCharArrayMedianProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< unsigned char > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UCharArrayMedianProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMedianProjector< unsigned char > *)new npstat::ArrayMedianProjector< unsigned char >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMedianProjectorT_unsigned_char_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_UCharArrayMedianProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< unsigned char > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharArrayMedianProjector" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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_UCharArrayMedianProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< unsigned char > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayMedianProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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_UCharArrayMedianProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< unsigned char > *arg1 = (npstat::ArrayMedianProjector< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "UCharArrayMedianProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMedianProjectorT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayMedianProjector_process" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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 '" "UCharArrayMedianProjector_process" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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_UCharArrayMedianProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< unsigned char > *arg1 = (npstat::ArrayMedianProjector< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned char result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMedianProjectorT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayMedianProjector_result" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< unsigned char > * >(argp1);
{
try {
result = (unsigned char)(arg1)->result();
} 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 *UCharArrayMedianProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMedianProjectorT_unsigned_char_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharArrayMedianProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntArrayMedianProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< int > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_IntArrayMedianProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMedianProjector< int > *)new npstat::ArrayMedianProjector< int >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMedianProjectorT_int_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_IntArrayMedianProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< int > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_int_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntArrayMedianProjector" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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_IntArrayMedianProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< int > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayMedianProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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_IntArrayMedianProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< int > *arg1 = (npstat::ArrayMedianProjector< int > *) 0 ;
int *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "IntArrayMedianProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMedianProjectorT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayMedianProjector_process" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArrayMedianProjector_process" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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_IntArrayMedianProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< int > *arg1 = (npstat::ArrayMedianProjector< int > *) 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__ArrayMedianProjectorT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayMedianProjector_result" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< int > * >(argp1);
{
try {
result = (int)(arg1)->result();
} 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 *IntArrayMedianProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMedianProjectorT_int_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntArrayMedianProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongArrayMedianProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< long > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LongArrayMedianProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMedianProjector< long > *)new npstat::ArrayMedianProjector< long >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMedianProjectorT_long_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LongArrayMedianProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< long > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_long_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongArrayMedianProjector" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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_LongArrayMedianProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< long > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayMedianProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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_LongArrayMedianProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< long > *arg1 = (npstat::ArrayMedianProjector< long > *) 0 ;
long *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LongArrayMedianProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMedianProjectorT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayMedianProjector_process" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArrayMedianProjector_process" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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_LongArrayMedianProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< long > *arg1 = (npstat::ArrayMedianProjector< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMedianProjectorT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayMedianProjector_result" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< long > * >(argp1);
{
try {
result = (long)(arg1)->result();
} 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 *LongArrayMedianProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMedianProjectorT_long_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongArrayMedianProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatArrayMedianProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< float > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FloatArrayMedianProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMedianProjector< float > *)new npstat::ArrayMedianProjector< float >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMedianProjectorT_float_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_FloatArrayMedianProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< float > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_float_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatArrayMedianProjector" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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_FloatArrayMedianProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< float > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayMedianProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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_FloatArrayMedianProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< float > *arg1 = (npstat::ArrayMedianProjector< float > *) 0 ;
float *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatArrayMedianProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMedianProjectorT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayMedianProjector_process" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArrayMedianProjector_process" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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_FloatArrayMedianProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< float > *arg1 = (npstat::ArrayMedianProjector< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
float result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMedianProjectorT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayMedianProjector_result" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< float > * >(argp1);
{
try {
result = (float)(arg1)->result();
} 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 *FloatArrayMedianProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMedianProjectorT_float_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatArrayMedianProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleArrayMedianProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleArrayMedianProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMedianProjector< double > *)new npstat::ArrayMedianProjector< double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMedianProjectorT_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleArrayMedianProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< double > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleArrayMedianProjector" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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_DoubleArrayMedianProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< double > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayMedianProjector_clear" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< 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_DoubleArrayMedianProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< double > *arg1 = (npstat::ArrayMedianProjector< double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleArrayMedianProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayMedianProjectorT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayMedianProjector_process" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArrayMedianProjector_process" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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_DoubleArrayMedianProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMedianProjector< double > *arg1 = (npstat::ArrayMedianProjector< 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__ArrayMedianProjectorT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayMedianProjector_result" "', argument " "1"" of type '" "npstat::ArrayMedianProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMedianProjector< double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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 *DoubleArrayMedianProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMedianProjectorT_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleArrayMedianProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UCharArrayRangeProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< unsigned char > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UCharArrayRangeProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayRangeProjector< unsigned char > *)new npstat::ArrayRangeProjector< unsigned char >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayRangeProjectorT_unsigned_char_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_UCharArrayRangeProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< unsigned char > *arg1 = (npstat::ArrayRangeProjector< 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__ArrayRangeProjectorT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharArrayRangeProjector" "', argument " "1"" of type '" "npstat::ArrayRangeProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayRangeProjector< 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_UCharArrayRangeProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< unsigned char > *arg1 = (npstat::ArrayRangeProjector< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned char result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayRangeProjectorT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayRangeProjector_result" "', argument " "1"" of type '" "npstat::ArrayRangeProjector< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayRangeProjector< unsigned char > * >(argp1);
{
try {
result = (unsigned char)(arg1)->result();
} 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 *UCharArrayRangeProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayRangeProjectorT_unsigned_char_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharArrayRangeProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntArrayRangeProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< int > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_IntArrayRangeProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayRangeProjector< int > *)new npstat::ArrayRangeProjector< int >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayRangeProjectorT_int_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_IntArrayRangeProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< int > *arg1 = (npstat::ArrayRangeProjector< 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__ArrayRangeProjectorT_int_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntArrayRangeProjector" "', argument " "1"" of type '" "npstat::ArrayRangeProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayRangeProjector< 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_IntArrayRangeProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< int > *arg1 = (npstat::ArrayRangeProjector< int > *) 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__ArrayRangeProjectorT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayRangeProjector_result" "', argument " "1"" of type '" "npstat::ArrayRangeProjector< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayRangeProjector< int > * >(argp1);
{
try {
result = (int)(arg1)->result();
} 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 *IntArrayRangeProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayRangeProjectorT_int_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntArrayRangeProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongArrayRangeProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< long > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LongArrayRangeProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayRangeProjector< long > *)new npstat::ArrayRangeProjector< long >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayRangeProjectorT_long_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LongArrayRangeProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< long > *arg1 = (npstat::ArrayRangeProjector< 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__ArrayRangeProjectorT_long_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongArrayRangeProjector" "', argument " "1"" of type '" "npstat::ArrayRangeProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayRangeProjector< 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_LongArrayRangeProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< long > *arg1 = (npstat::ArrayRangeProjector< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayRangeProjectorT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayRangeProjector_result" "', argument " "1"" of type '" "npstat::ArrayRangeProjector< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayRangeProjector< long > * >(argp1);
{
try {
result = (long)(arg1)->result();
} 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 *LongArrayRangeProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayRangeProjectorT_long_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongArrayRangeProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatArrayRangeProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< float > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FloatArrayRangeProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayRangeProjector< float > *)new npstat::ArrayRangeProjector< float >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayRangeProjectorT_float_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_FloatArrayRangeProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< float > *arg1 = (npstat::ArrayRangeProjector< 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__ArrayRangeProjectorT_float_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatArrayRangeProjector" "', argument " "1"" of type '" "npstat::ArrayRangeProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayRangeProjector< 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_FloatArrayRangeProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< float > *arg1 = (npstat::ArrayRangeProjector< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
float result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayRangeProjectorT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayRangeProjector_result" "', argument " "1"" of type '" "npstat::ArrayRangeProjector< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayRangeProjector< float > * >(argp1);
{
try {
result = (float)(arg1)->result();
} 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 *FloatArrayRangeProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayRangeProjectorT_float_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatArrayRangeProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleArrayRangeProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleArrayRangeProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayRangeProjector< double > *)new npstat::ArrayRangeProjector< double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayRangeProjectorT_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleArrayRangeProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< double > *arg1 = (npstat::ArrayRangeProjector< 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__ArrayRangeProjectorT_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleArrayRangeProjector" "', argument " "1"" of type '" "npstat::ArrayRangeProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayRangeProjector< 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_DoubleArrayRangeProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayRangeProjector< double > *arg1 = (npstat::ArrayRangeProjector< 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__ArrayRangeProjectorT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayRangeProjector_result" "', argument " "1"" of type '" "npstat::ArrayRangeProjector< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayRangeProjector< double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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 *DoubleArrayRangeProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayRangeProjectorT_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleArrayRangeProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleArraySumProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< double,double,long double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleArraySumProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArraySumProjector< double,double,long double > *)new npstat::ArraySumProjector< double,double,long double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArraySumProjectorT_double_double_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleArraySumProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< double,double,long double > *arg1 = (npstat::ArraySumProjector< double,double,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__ArraySumProjectorT_double_double_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleArraySumProjector" "', argument " "1"" of type '" "npstat::ArraySumProjector< double,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< double,double,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_DoubleArraySumProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< double,double,long double > *arg1 = (npstat::ArraySumProjector< double,double,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__ArraySumProjectorT_double_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArraySumProjector_clear" "', argument " "1"" of type '" "npstat::ArraySumProjector< double,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< double,double,long 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_DoubleArraySumProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< double,double,long double > *arg1 = (npstat::ArraySumProjector< double,double,long 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__ArraySumProjectorT_double_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArraySumProjector_result" "', argument " "1"" of type '" "npstat::ArraySumProjector< double,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< double,double,long double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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_DoubleArraySumProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< double,double,long double > *arg1 = (npstat::ArraySumProjector< double,double,long double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleArraySumProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArraySumProjectorT_double_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArraySumProjector_process" "', argument " "1"" of type '" "npstat::ArraySumProjector< double,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< double,double,long double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArraySumProjector_process" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *DoubleArraySumProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArraySumProjectorT_double_double_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleArraySumProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatArraySumProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< float,double,long double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FloatArraySumProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArraySumProjector< float,double,long double > *)new npstat::ArraySumProjector< float,double,long double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArraySumProjectorT_float_double_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_FloatArraySumProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< float,double,long double > *arg1 = (npstat::ArraySumProjector< float,double,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__ArraySumProjectorT_float_double_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatArraySumProjector" "', argument " "1"" of type '" "npstat::ArraySumProjector< float,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< float,double,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_FloatArraySumProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< float,double,long double > *arg1 = (npstat::ArraySumProjector< float,double,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__ArraySumProjectorT_float_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArraySumProjector_clear" "', argument " "1"" of type '" "npstat::ArraySumProjector< float,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< float,double,long 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_FloatArraySumProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< float,double,long double > *arg1 = (npstat::ArraySumProjector< float,double,long 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__ArraySumProjectorT_float_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArraySumProjector_result" "', argument " "1"" of type '" "npstat::ArraySumProjector< float,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< float,double,long double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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_FloatArraySumProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< float,double,long double > *arg1 = (npstat::ArraySumProjector< float,double,long double > *) 0 ;
float *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatArraySumProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArraySumProjectorT_float_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArraySumProjector_process" "', argument " "1"" of type '" "npstat::ArraySumProjector< float,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< float,double,long double > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArraySumProjector_process" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *FloatArraySumProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArraySumProjectorT_float_double_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatArraySumProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntArraySumProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< int,double,long double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_IntArraySumProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArraySumProjector< int,double,long double > *)new npstat::ArraySumProjector< int,double,long double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArraySumProjectorT_int_double_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_IntArraySumProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< int,double,long double > *arg1 = (npstat::ArraySumProjector< int,double,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__ArraySumProjectorT_int_double_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntArraySumProjector" "', argument " "1"" of type '" "npstat::ArraySumProjector< int,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< int,double,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_IntArraySumProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< int,double,long double > *arg1 = (npstat::ArraySumProjector< int,double,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__ArraySumProjectorT_int_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArraySumProjector_clear" "', argument " "1"" of type '" "npstat::ArraySumProjector< int,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< int,double,long 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_IntArraySumProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< int,double,long double > *arg1 = (npstat::ArraySumProjector< int,double,long 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__ArraySumProjectorT_int_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArraySumProjector_result" "', argument " "1"" of type '" "npstat::ArraySumProjector< int,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< int,double,long double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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_IntArraySumProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< int,double,long double > *arg1 = (npstat::ArraySumProjector< int,double,long double > *) 0 ;
int *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "IntArraySumProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArraySumProjectorT_int_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArraySumProjector_process" "', argument " "1"" of type '" "npstat::ArraySumProjector< int,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< int,double,long double > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArraySumProjector_process" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *IntArraySumProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArraySumProjectorT_int_double_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntArraySumProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongArraySumProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< long,double,long double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LongArraySumProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArraySumProjector< long,double,long double > *)new npstat::ArraySumProjector< long,double,long double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArraySumProjectorT_long_double_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LongArraySumProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< long,double,long double > *arg1 = (npstat::ArraySumProjector< long,double,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__ArraySumProjectorT_long_double_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongArraySumProjector" "', argument " "1"" of type '" "npstat::ArraySumProjector< long,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< long,double,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_LongArraySumProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< long,double,long double > *arg1 = (npstat::ArraySumProjector< long,double,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__ArraySumProjectorT_long_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArraySumProjector_clear" "', argument " "1"" of type '" "npstat::ArraySumProjector< long,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< long,double,long 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_LongArraySumProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< long,double,long double > *arg1 = (npstat::ArraySumProjector< long,double,long 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__ArraySumProjectorT_long_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArraySumProjector_result" "', argument " "1"" of type '" "npstat::ArraySumProjector< long,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< long,double,long double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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_LongArraySumProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< long,double,long double > *arg1 = (npstat::ArraySumProjector< long,double,long double > *) 0 ;
long *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LongArraySumProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArraySumProjectorT_long_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArraySumProjector_process" "', argument " "1"" of type '" "npstat::ArraySumProjector< long,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< long,double,long double > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArraySumProjector_process" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *LongArraySumProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArraySumProjectorT_long_double_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongArraySumProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UCharArraySumProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< unsigned char,double,long double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UCharArraySumProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArraySumProjector< unsigned char,double,long double > *)new npstat::ArraySumProjector< unsigned char,double,long double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArraySumProjectorT_unsigned_char_double_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_UCharArraySumProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< unsigned char,double,long double > *arg1 = (npstat::ArraySumProjector< unsigned char,double,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__ArraySumProjectorT_unsigned_char_double_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharArraySumProjector" "', argument " "1"" of type '" "npstat::ArraySumProjector< unsigned char,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< unsigned char,double,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_UCharArraySumProjector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< unsigned char,double,long double > *arg1 = (npstat::ArraySumProjector< unsigned char,double,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__ArraySumProjectorT_unsigned_char_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArraySumProjector_clear" "', argument " "1"" of type '" "npstat::ArraySumProjector< unsigned char,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< unsigned char,double,long 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_UCharArraySumProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< unsigned char,double,long double > *arg1 = (npstat::ArraySumProjector< unsigned char,double,long 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__ArraySumProjectorT_unsigned_char_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArraySumProjector_result" "', argument " "1"" of type '" "npstat::ArraySumProjector< unsigned char,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< unsigned char,double,long double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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_UCharArraySumProjector_process(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArraySumProjector< unsigned char,double,long double > *arg1 = (npstat::ArraySumProjector< unsigned char,double,long double > *) 0 ;
unsigned char *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "UCharArraySumProjector_process", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArraySumProjectorT_unsigned_char_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArraySumProjector_process" "', argument " "1"" of type '" "npstat::ArraySumProjector< unsigned char,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArraySumProjector< unsigned char,double,long double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArraySumProjector_process" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
{
try {
(arg1)->process((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 *UCharArraySumProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArraySumProjectorT_unsigned_char_double_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharArraySumProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleArrayMeanProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< double,double,long double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleArrayMeanProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMeanProjector< double,double,long double > *)new npstat::ArrayMeanProjector< double,double,long double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMeanProjectorT_double_double_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleArrayMeanProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< double,double,long double > *arg1 = (npstat::ArrayMeanProjector< double,double,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__ArrayMeanProjectorT_double_double_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleArrayMeanProjector" "', argument " "1"" of type '" "npstat::ArrayMeanProjector< double,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMeanProjector< double,double,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_DoubleArrayMeanProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< double,double,long double > *arg1 = (npstat::ArrayMeanProjector< double,double,long 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__ArrayMeanProjectorT_double_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArrayMeanProjector_result" "', argument " "1"" of type '" "npstat::ArrayMeanProjector< double,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMeanProjector< double,double,long double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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 *DoubleArrayMeanProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMeanProjectorT_double_double_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleArrayMeanProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatArrayMeanProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< float,double,long double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FloatArrayMeanProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMeanProjector< float,double,long double > *)new npstat::ArrayMeanProjector< float,double,long double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMeanProjectorT_float_double_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_FloatArrayMeanProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< float,double,long double > *arg1 = (npstat::ArrayMeanProjector< float,double,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__ArrayMeanProjectorT_float_double_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatArrayMeanProjector" "', argument " "1"" of type '" "npstat::ArrayMeanProjector< float,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMeanProjector< float,double,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_FloatArrayMeanProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< float,double,long double > *arg1 = (npstat::ArrayMeanProjector< float,double,long 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__ArrayMeanProjectorT_float_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArrayMeanProjector_result" "', argument " "1"" of type '" "npstat::ArrayMeanProjector< float,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMeanProjector< float,double,long double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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 *FloatArrayMeanProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMeanProjectorT_float_double_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatArrayMeanProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntArrayMeanProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< int,double,long double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_IntArrayMeanProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMeanProjector< int,double,long double > *)new npstat::ArrayMeanProjector< int,double,long double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMeanProjectorT_int_double_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_IntArrayMeanProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< int,double,long double > *arg1 = (npstat::ArrayMeanProjector< int,double,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__ArrayMeanProjectorT_int_double_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntArrayMeanProjector" "', argument " "1"" of type '" "npstat::ArrayMeanProjector< int,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMeanProjector< int,double,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_IntArrayMeanProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< int,double,long double > *arg1 = (npstat::ArrayMeanProjector< int,double,long 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__ArrayMeanProjectorT_int_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArrayMeanProjector_result" "', argument " "1"" of type '" "npstat::ArrayMeanProjector< int,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMeanProjector< int,double,long double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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 *IntArrayMeanProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMeanProjectorT_int_double_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntArrayMeanProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongArrayMeanProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< long,double,long double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LongArrayMeanProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMeanProjector< long,double,long double > *)new npstat::ArrayMeanProjector< long,double,long double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMeanProjectorT_long_double_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LongArrayMeanProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< long,double,long double > *arg1 = (npstat::ArrayMeanProjector< long,double,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__ArrayMeanProjectorT_long_double_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongArrayMeanProjector" "', argument " "1"" of type '" "npstat::ArrayMeanProjector< long,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMeanProjector< long,double,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_LongArrayMeanProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< long,double,long double > *arg1 = (npstat::ArrayMeanProjector< long,double,long 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__ArrayMeanProjectorT_long_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArrayMeanProjector_result" "', argument " "1"" of type '" "npstat::ArrayMeanProjector< long,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMeanProjector< long,double,long double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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 *LongArrayMeanProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMeanProjectorT_long_double_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongArrayMeanProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UCharArrayMeanProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< unsigned char,double,long double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UCharArrayMeanProjector", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::ArrayMeanProjector< unsigned char,double,long double > *)new npstat::ArrayMeanProjector< unsigned char,double,long double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayMeanProjectorT_unsigned_char_double_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_UCharArrayMeanProjector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< unsigned char,double,long double > *arg1 = (npstat::ArrayMeanProjector< unsigned char,double,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__ArrayMeanProjectorT_unsigned_char_double_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharArrayMeanProjector" "', argument " "1"" of type '" "npstat::ArrayMeanProjector< unsigned char,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMeanProjector< unsigned char,double,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_UCharArrayMeanProjector_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayMeanProjector< unsigned char,double,long double > *arg1 = (npstat::ArrayMeanProjector< unsigned char,double,long 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__ArrayMeanProjectorT_unsigned_char_double_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArrayMeanProjector_result" "', argument " "1"" of type '" "npstat::ArrayMeanProjector< unsigned char,double,long double > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayMeanProjector< unsigned char,double,long double > * >(argp1);
{
try {
result = (double)(arg1)->result();
} 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 *UCharArrayMeanProjector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayMeanProjectorT_unsigned_char_double_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharArrayMeanProjector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_ntupleCovariance__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< unsigned char > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "ntupleCovariance" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntupleCovariance" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< unsigned char > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR ntupleCovariance< unsigned char >((npstat::AbsNtuple< unsigned char > const &)*arg1);
} 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_ntupleCovariance__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< int > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "ntupleCovariance" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntupleCovariance" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< int > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR ntupleCovariance< int >((npstat::AbsNtuple< int > const &)*arg1);
} 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_ntupleCovariance__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< long > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "ntupleCovariance" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntupleCovariance" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< long > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR ntupleCovariance< long >((npstat::AbsNtuple< long > const &)*arg1);
} 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_ntupleCovariance__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "ntupleCovariance" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntupleCovariance" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR ntupleCovariance< float >((npstat::AbsNtuple< float > const &)*arg1);
} 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_ntupleCovariance__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "ntupleCovariance" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntupleCovariance" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR ntupleCovariance< double >((npstat::AbsNtuple< double > const &)*arg1);
} 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_ntupleCovariance(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ntupleCovariance", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
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) {
return _wrap_ntupleCovariance__SWIG_1(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_ntupleCovariance__SWIG_2(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_ntupleCovariance__SWIG_3(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_ntupleCovariance__SWIG_4(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_ntupleCovariance__SWIG_5(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntupleCovariance'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ntupleCovariance< unsigned char >(npstat::AbsNtuple< unsigned char > const &)\n"
" npstat::ntupleCovariance< int >(npstat::AbsNtuple< int > const &)\n"
" npstat::ntupleCovariance< long >(npstat::AbsNtuple< long > const &)\n"
" npstat::ntupleCovariance< float >(npstat::AbsNtuple< float > const &)\n"
" npstat::ntupleCovariance< double >(npstat::AbsNtuple< double > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ntupleMean__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< unsigned char > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "ntupleMean" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntupleMean" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< unsigned char > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR ntupleMean2< unsigned char >((npstat::AbsNtuple< unsigned char > const &)*arg1);
} 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_ntupleMean__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< int > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "ntupleMean" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntupleMean" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< int > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR ntupleMean2< int >((npstat::AbsNtuple< int > const &)*arg1);
} 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_ntupleMean__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< long > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "ntupleMean" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntupleMean" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< long > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR ntupleMean2< long >((npstat::AbsNtuple< long > const &)*arg1);
} 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_ntupleMean__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "ntupleMean" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntupleMean" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR ntupleMean2< float >((npstat::AbsNtuple< float > const &)*arg1);
} 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_ntupleMean__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "ntupleMean" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntupleMean" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR ntupleMean2< double >((npstat::AbsNtuple< double > const &)*arg1);
} 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_ntupleMean(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ntupleMean", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
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) {
return _wrap_ntupleMean__SWIG_1(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_ntupleMean__SWIG_2(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_ntupleMean__SWIG_3(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_ntupleMean__SWIG_4(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_ntupleMean__SWIG_5(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntupleMean'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ntupleMean2< unsigned char >(npstat::AbsNtuple< unsigned char > const &)\n"
" npstat::ntupleMean2< int >(npstat::AbsNtuple< int > const &)\n"
" npstat::ntupleMean2< long >(npstat::AbsNtuple< long > const &)\n"
" npstat::ntupleMean2< float >(npstat::AbsNtuple< float > const &)\n"
" npstat::ntupleMean2< double >(npstat::AbsNtuple< double > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_StatAccumulatorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_StatAccumulatorPair", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::StatAccumulatorPair *)new npstat::StatAccumulatorPair();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::StatAccumulator *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_first" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
{
try {
result = (npstat::StatAccumulator *) &((npstat::StatAccumulatorPair const *)arg1)->first();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulator, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair_second(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::StatAccumulator *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_second" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
{
try {
result = (npstat::StatAccumulator *) &((npstat::StatAccumulatorPair const *)arg1)->second();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulator, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair_crossSumsq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
long double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_crossSumsq" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
{
try {
result = (long double)((npstat::StatAccumulatorPair const *)arg1)->crossSumsq();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new long double(static_cast< const long double& >(result))), SWIGTYPE_p_long_double, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 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__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_count" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
{
try {
result = (unsigned long)((npstat::StatAccumulatorPair 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_StatAccumulatorPair_cov(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 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__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_cov" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
{
try {
result = (double)((npstat::StatAccumulatorPair const *)arg1)->cov();
} 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_StatAccumulatorPair_corr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 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__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_corr" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
{
try {
result = (double)((npstat::StatAccumulatorPair const *)arg1)->corr();
} 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_StatAccumulatorPair_accumulate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_accumulate" "', argument " "1"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorPair_accumulate" "', 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 '" "StatAccumulatorPair_accumulate" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->accumulate(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_StatAccumulatorPair_accumulate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
std::pair< double,double > *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__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_accumulate" "', argument " "1"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
{
std::pair< double,double > *ptr = (std::pair< double,double > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorPair_accumulate" "', argument " "2"" of type '" "std::pair< double,double > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorPair_accumulate" "', argument " "2"" of type '" "std::pair< double,double > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->accumulate((std::pair< double,double > 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_StatAccumulatorPair_accumulate__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
npstat::StatAccumulatorPair *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__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_accumulate" "', argument " "1"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorPair_accumulate" "', argument " "2"" of type '" "npstat::StatAccumulatorPair const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorPair_accumulate" "', argument " "2"" of type '" "npstat::StatAccumulatorPair const &""'");
}
arg2 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp2);
{
try {
(arg1)->accumulate((npstat::StatAccumulatorPair 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_StatAccumulatorPair_accumulate(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "StatAccumulatorPair_accumulate", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StatAccumulatorPair, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_StatAccumulatorPair_accumulate__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StatAccumulatorPair, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::pair< double,double >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_StatAccumulatorPair_accumulate__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StatAccumulatorPair, 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_StatAccumulatorPair_accumulate__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'StatAccumulatorPair_accumulate'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StatAccumulatorPair::accumulate(double,double)\n"
" npstat::StatAccumulatorPair::accumulate(std::pair< double,double > const &)\n"
" npstat::StatAccumulatorPair::accumulate(npstat::StatAccumulatorPair const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 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__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_reset" "', argument " "1"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(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_StatAccumulatorPair___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
std::pair< double,double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
npstat::StatAccumulatorPair *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair___iadd__" "', argument " "1"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
{
std::pair< double,double > *ptr = (std::pair< double,double > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorPair___iadd__" "', argument " "2"" of type '" "std::pair< double,double > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorPair___iadd__" "', argument " "2"" of type '" "std::pair< double,double > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::StatAccumulatorPair *) &(arg1)->operator +=((std::pair< double,double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair___iadd____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
npstat::StatAccumulatorPair *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
npstat::StatAccumulatorPair *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair___iadd__" "', argument " "1"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorPair___iadd__" "', argument " "2"" of type '" "npstat::StatAccumulatorPair const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorPair___iadd__" "', argument " "2"" of type '" "npstat::StatAccumulatorPair const &""'");
}
arg2 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp2);
{
try {
result = (npstat::StatAccumulatorPair *) &(arg1)->operator +=((npstat::StatAccumulatorPair const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair___iadd__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "StatAccumulatorPair___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__StatAccumulatorPair, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_StatAccumulatorPair___iadd____SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StatAccumulatorPair, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::pair< double,double >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_StatAccumulatorPair___iadd____SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'StatAccumulatorPair___iadd__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StatAccumulatorPair::operator +=(std::pair< double,double > const &)\n"
" npstat::StatAccumulatorPair::operator +=(npstat::StatAccumulatorPair const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
npstat::StatAccumulatorPair *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, "StatAccumulatorPair___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair___eq__" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorPair___eq__" "', argument " "2"" of type '" "npstat::StatAccumulatorPair const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorPair___eq__" "', argument " "2"" of type '" "npstat::StatAccumulatorPair const &""'");
}
arg2 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp2);
{
try {
result = (bool)((npstat::StatAccumulatorPair const *)arg1)->operator ==((npstat::StatAccumulatorPair 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_StatAccumulatorPair___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
npstat::StatAccumulatorPair *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, "StatAccumulatorPair___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair___ne__" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorPair___ne__" "', argument " "2"" of type '" "npstat::StatAccumulatorPair const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorPair___ne__" "', argument " "2"" of type '" "npstat::StatAccumulatorPair const &""'");
}
arg2 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp2);
{
try {
result = (bool)((npstat::StatAccumulatorPair const *)arg1)->operator !=((npstat::StatAccumulatorPair 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_StatAccumulatorPair_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 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__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_classId" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
{
try {
result = ((npstat::StatAccumulatorPair 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_StatAccumulatorPair_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 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, "StatAccumulatorPair_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair_write" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(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 '" "StatAccumulatorPair_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorPair_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StatAccumulatorPair 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_StatAccumulatorPair_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorPair_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StatAccumulatorPair::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_StatAccumulatorPair_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorPair_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StatAccumulatorPair::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_StatAccumulatorPair_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
npstat::StatAccumulatorPair *arg3 = (npstat::StatAccumulatorPair *) 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, "StatAccumulatorPair_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 '" "StatAccumulatorPair_restore" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorPair_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 '" "StatAccumulatorPair_restore" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorPair_restore" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StatAccumulatorPair_restore" "', argument " "3"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg3 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp3);
{
try {
npstat::StatAccumulatorPair::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_StatAccumulatorPair___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorPair result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorPair___mul__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair___mul__" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorPair___mul__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::StatAccumulatorPair const *)arg1)->mul2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::StatAccumulatorPair(static_cast< const npstat::StatAccumulatorPair& >(result))), SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorPair result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorPair___div__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair___div__" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorPair___div__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::StatAccumulatorPair const *)arg1)->div2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::StatAccumulatorPair(static_cast< const npstat::StatAccumulatorPair& >(result))), SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorPair *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorPair___imul__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair___imul__" "', argument " "1"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorPair___imul__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (npstat::StatAccumulatorPair *) &(arg1)->imul2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorPair___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorPair *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorPair___idiv__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorPair___idiv__" "', argument " "1"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorPair___idiv__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (npstat::StatAccumulatorPair *) &(arg1)->idiv2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_StatAccumulatorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *arg1 = (npstat::StatAccumulatorPair *) 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__StatAccumulatorPair, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StatAccumulatorPair" "', argument " "1"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(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 *StatAccumulatorPair_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *StatAccumulatorPair_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_StatAccumulatorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *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::StatAccumulatorPair > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_StatAccumulatorPair", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_StatAccumulatorPair" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_StatAccumulatorPair" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const &""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_StatAccumulatorPair" "', 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_StatAccumulatorPair" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::StatAccumulatorPair > *)new gs::ArchiveRecord< npstat::StatAccumulatorPair >((npstat::StatAccumulatorPair 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__StatAccumulatorPair_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_StatAccumulatorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::StatAccumulatorPair > *arg1 = (gs::ArchiveRecord< npstat::StatAccumulatorPair > *) 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__StatAccumulatorPair_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_StatAccumulatorPair" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::StatAccumulatorPair > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::StatAccumulatorPair > * >(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_StatAccumulatorPair_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__StatAccumulatorPair_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_StatAccumulatorPair_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_136(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StatAccumulatorPair *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::StatAccumulatorPair > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::StatAccumulatorPair const &""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorPair * >(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::StatAccumulatorPair >((npstat::StatAccumulatorPair 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::StatAccumulatorPair >(static_cast< const gs::ArchiveRecord< npstat::StatAccumulatorPair >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__StatAccumulatorPair_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_StatAccumulatorPair__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::StatAccumulatorPair > *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_StatAccumulatorPair" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_StatAccumulatorPair" "', 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_StatAccumulatorPair" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::StatAccumulatorPair > *)new gs::Reference< npstat::StatAccumulatorPair >(*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__StatAccumulatorPair_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_StatAccumulatorPair__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::StatAccumulatorPair > *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_StatAccumulatorPair" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_StatAccumulatorPair" "', 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_StatAccumulatorPair" "', 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_StatAccumulatorPair" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::StatAccumulatorPair > *)new gs::Reference< npstat::StatAccumulatorPair >(*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__StatAccumulatorPair_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_StatAccumulatorPair__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::StatAccumulatorPair > *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_StatAccumulatorPair" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_StatAccumulatorPair" "', 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_StatAccumulatorPair" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_StatAccumulatorPair" "', 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_StatAccumulatorPair" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_StatAccumulatorPair" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::StatAccumulatorPair > *)new gs::Reference< npstat::StatAccumulatorPair >(*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__StatAccumulatorPair_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_StatAccumulatorPair(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_StatAccumulatorPair", 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_StatAccumulatorPair__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_StatAccumulatorPair__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_StatAccumulatorPair__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_StatAccumulatorPair'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::StatAccumulatorPair >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::StatAccumulatorPair >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::StatAccumulatorPair >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_StatAccumulatorPair_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::StatAccumulatorPair > *arg1 = (gs::Reference< npstat::StatAccumulatorPair > *) 0 ;
unsigned long arg2 ;
npstat::StatAccumulatorPair *arg3 = (npstat::StatAccumulatorPair *) 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_StatAccumulatorPair_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorPair_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_StatAccumulatorPair_restore" "', argument " "1"" of type '" "gs::Reference< npstat::StatAccumulatorPair > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::StatAccumulatorPair > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_StatAccumulatorPair_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__StatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_StatAccumulatorPair_restore" "', argument " "3"" of type '" "npstat::StatAccumulatorPair *""'");
}
arg3 = reinterpret_cast< npstat::StatAccumulatorPair * >(argp3);
{
try {
((gs::Reference< npstat::StatAccumulatorPair > 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_StatAccumulatorPair_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::StatAccumulatorPair > *arg1 = (gs::Reference< npstat::StatAccumulatorPair > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorPair *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_StatAccumulatorPair_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorPair_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_StatAccumulatorPair_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::StatAccumulatorPair > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::StatAccumulatorPair > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_StatAccumulatorPair_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::StatAccumulatorPair *)gs_Reference_Sl_npstat_StatAccumulatorPair_Sg__retrieve((gs::Reference< npstat::StatAccumulatorPair > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_StatAccumulatorPair_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::StatAccumulatorPair > *arg1 = (gs::Reference< npstat::StatAccumulatorPair > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorPair result;
if (!SWIG_Python_UnpackTuple(args, "Ref_StatAccumulatorPair_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorPair_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_StatAccumulatorPair_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::StatAccumulatorPair > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::StatAccumulatorPair > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_StatAccumulatorPair_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_StatAccumulatorPair_Sg__getValue((gs::Reference< npstat::StatAccumulatorPair > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::StatAccumulatorPair(static_cast< const npstat::StatAccumulatorPair& >(result))), SWIGTYPE_p_npstat__StatAccumulatorPair, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_StatAccumulatorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::StatAccumulatorPair > *arg1 = (gs::Reference< npstat::StatAccumulatorPair > *) 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__StatAccumulatorPair_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_StatAccumulatorPair" "', argument " "1"" of type '" "gs::Reference< npstat::StatAccumulatorPair > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::StatAccumulatorPair > * >(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_StatAccumulatorPair_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__StatAccumulatorPair_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_StatAccumulatorPair_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ComparisonDistribution1D__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::ComparisonDistribution1D *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_ComparisonDistribution1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComparisonDistribution1D" "', 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_ComparisonDistribution1D" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComparisonDistribution1D" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
{
try {
result = (npstat::ComparisonDistribution1D *)new npstat::ComparisonDistribution1D((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__ComparisonDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ComparisonDistribution1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ComparisonDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComparisonDistribution1D" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComparisonDistribution1D" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
{
try {
result = (npstat::ComparisonDistribution1D *)new npstat::ComparisonDistribution1D((npstat::ComparisonDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ComparisonDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ComparisonDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ComparisonDistribution1D", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ComparisonDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ComparisonDistribution1D__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_ComparisonDistribution1D__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ComparisonDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ComparisonDistribution1D::ComparisonDistribution1D(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::ComparisonDistribution1D::ComparisonDistribution1D(npstat::ComparisonDistribution1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_ComparisonDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 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__ComparisonDistribution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ComparisonDistribution1D" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(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_ComparisonDistribution1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 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, "ComparisonDistribution1D_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_density" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComparisonDistribution1D_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::ComparisonDistribution1D 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_ComparisonDistribution1D_legendreCoeff(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 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, "ComparisonDistribution1D_legendreCoeff", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_legendreCoeff" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComparisonDistribution1D_legendreCoeff" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::ComparisonDistribution1D const *)arg1)->legendreCoeff(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_ComparisonDistribution1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 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, "ComparisonDistribution1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_cdf" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComparisonDistribution1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::ComparisonDistribution1D 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_ComparisonDistribution1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 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, "ComparisonDistribution1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_exceedance" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComparisonDistribution1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::ComparisonDistribution1D 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_ComparisonDistribution1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 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, "ComparisonDistribution1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_quantile" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComparisonDistribution1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::ComparisonDistribution1D 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_ComparisonDistribution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ComparisonDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_clone" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
{
try {
result = (npstat::ComparisonDistribution1D *)((npstat::ComparisonDistribution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ComparisonDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ComparisonDistribution1D_compared(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 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__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_compared" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &((npstat::ComparisonDistribution1D const *)arg1)->compared();
} 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_ComparisonDistribution1D_baseline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 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__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_baseline" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &((npstat::ComparisonDistribution1D const *)arg1)->baseline();
} 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_ComparisonDistribution1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 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__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_classId" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
{
try {
result = ((npstat::ComparisonDistribution1D 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_ComparisonDistribution1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 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, "ComparisonDistribution1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_write" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(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 '" "ComparisonDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComparisonDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::ComparisonDistribution1D 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_ComparisonDistribution1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ComparisonDistribution1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ComparisonDistribution1D::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_ComparisonDistribution1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ComparisonDistribution1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ComparisonDistribution1D::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_ComparisonDistribution1D_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::ComparisonDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ComparisonDistribution1D_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 '" "ComparisonDistribution1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComparisonDistribution1D_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 '" "ComparisonDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComparisonDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::ComparisonDistribution1D *)npstat::ComparisonDistribution1D::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__ComparisonDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ComparisonDistribution1D_legendreSeriesCoeffs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *arg1 = (npstat::ComparisonDistribution1D *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< double,std::allocator< double > > result;
if (!SWIG_Python_UnpackTuple(args, "ComparisonDistribution1D_legendreSeriesCoeffs", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComparisonDistribution1D_legendreSeriesCoeffs" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComparisonDistribution1D_legendreSeriesCoeffs" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = ((npstat::ComparisonDistribution1D const *)arg1)->legendreSeriesCoeffs2(arg2);
} 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 *ComparisonDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ComparisonDistribution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ComparisonDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_ComparisonDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *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::ComparisonDistribution1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_ComparisonDistribution1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_ComparisonDistribution1D" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_ComparisonDistribution1D" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_ComparisonDistribution1D" "', 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_ComparisonDistribution1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::ComparisonDistribution1D > *)new gs::ArchiveRecord< npstat::ComparisonDistribution1D >((npstat::ComparisonDistribution1D 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__ComparisonDistribution1D_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_ComparisonDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::ComparisonDistribution1D > *arg1 = (gs::ArchiveRecord< npstat::ComparisonDistribution1D > *) 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__ComparisonDistribution1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_ComparisonDistribution1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::ComparisonDistribution1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::ComparisonDistribution1D > * >(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_ComparisonDistribution1D_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__ComparisonDistribution1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_ComparisonDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_137(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ComparisonDistribution1D *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::ComparisonDistribution1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::ComparisonDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::ComparisonDistribution1D * >(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::ComparisonDistribution1D >((npstat::ComparisonDistribution1D 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::ComparisonDistribution1D >(static_cast< const gs::ArchiveRecord< npstat::ComparisonDistribution1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__ComparisonDistribution1D_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_ComparisonDistribution1D__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::ComparisonDistribution1D > *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_ComparisonDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ComparisonDistribution1D" "', 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_ComparisonDistribution1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::ComparisonDistribution1D > *)new gs::Reference< npstat::ComparisonDistribution1D >(*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__ComparisonDistribution1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ComparisonDistribution1D__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::ComparisonDistribution1D > *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_ComparisonDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ComparisonDistribution1D" "', 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_ComparisonDistribution1D" "', 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_ComparisonDistribution1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::ComparisonDistribution1D > *)new gs::Reference< npstat::ComparisonDistribution1D >(*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__ComparisonDistribution1D_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_ComparisonDistribution1D__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::ComparisonDistribution1D > *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_ComparisonDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ComparisonDistribution1D" "', 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_ComparisonDistribution1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ComparisonDistribution1D" "', 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_ComparisonDistribution1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ComparisonDistribution1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::ComparisonDistribution1D > *)new gs::Reference< npstat::ComparisonDistribution1D >(*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__ComparisonDistribution1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ComparisonDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_ComparisonDistribution1D", 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_ComparisonDistribution1D__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_ComparisonDistribution1D__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_ComparisonDistribution1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_ComparisonDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::ComparisonDistribution1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::ComparisonDistribution1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::ComparisonDistribution1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_ComparisonDistribution1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ComparisonDistribution1D > *arg1 = (gs::Reference< npstat::ComparisonDistribution1D > *) 0 ;
unsigned long arg2 ;
npstat::ComparisonDistribution1D *arg3 = (npstat::ComparisonDistribution1D *) 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_ComparisonDistribution1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ComparisonDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ComparisonDistribution1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::ComparisonDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ComparisonDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ComparisonDistribution1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__ComparisonDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_ComparisonDistribution1D_restore" "', argument " "3"" of type '" "npstat::ComparisonDistribution1D *""'");
}
arg3 = reinterpret_cast< npstat::ComparisonDistribution1D * >(argp3);
{
try {
((gs::Reference< npstat::ComparisonDistribution1D > 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_ComparisonDistribution1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ComparisonDistribution1D > *arg1 = (gs::Reference< npstat::ComparisonDistribution1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ComparisonDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ComparisonDistribution1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ComparisonDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ComparisonDistribution1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::ComparisonDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ComparisonDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ComparisonDistribution1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::ComparisonDistribution1D *)gs_Reference_Sl_npstat_ComparisonDistribution1D_Sg__retrieve((gs::Reference< npstat::ComparisonDistribution1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ComparisonDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ComparisonDistribution1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ComparisonDistribution1D > *arg1 = (gs::Reference< npstat::ComparisonDistribution1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::ComparisonDistribution1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_ComparisonDistribution1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ComparisonDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ComparisonDistribution1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::ComparisonDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ComparisonDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ComparisonDistribution1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_ComparisonDistribution1D_Sg__getValue((gs::Reference< npstat::ComparisonDistribution1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ComparisonDistribution1D(static_cast< const npstat::ComparisonDistribution1D& >(result))), SWIGTYPE_p_npstat__ComparisonDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_ComparisonDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ComparisonDistribution1D > *arg1 = (gs::Reference< npstat::ComparisonDistribution1D > *) 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__ComparisonDistribution1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_ComparisonDistribution1D" "', argument " "1"" of type '" "gs::Reference< npstat::ComparisonDistribution1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ComparisonDistribution1D > * >(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_ComparisonDistribution1D_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__ComparisonDistribution1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_ComparisonDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_KDE1DHOSymbetaKernel__SWIG_0(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 ;
npstat::KDE1DHOSymbetaKernel *result = 0 ;
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 '" "new_KDE1DHOSymbetaKernel" "', 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_KDE1DHOSymbetaKernel" "', 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_KDE1DHOSymbetaKernel" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::KDE1DHOSymbetaKernel *)new npstat::KDE1DHOSymbetaKernel(arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_KDE1DHOSymbetaKernel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::KDE1DHOSymbetaKernel *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KDE1DHOSymbetaKernel" "', 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_KDE1DHOSymbetaKernel" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (npstat::KDE1DHOSymbetaKernel *)new npstat::KDE1DHOSymbetaKernel(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_KDE1DHOSymbetaKernel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::KDE1DHOSymbetaKernel *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KDE1DHOSymbetaKernel" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KDE1DHOSymbetaKernel" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel const &""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(argp1);
{
try {
result = (npstat::KDE1DHOSymbetaKernel *)new npstat::KDE1DHOSymbetaKernel((npstat::KDE1DHOSymbetaKernel const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_KDE1DHOSymbetaKernel(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_KDE1DHOSymbetaKernel", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_KDE1DHOSymbetaKernel__SWIG_2(self, argc, argv);
}
}
if (argc == 2) {
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) {
return _wrap_new_KDE1DHOSymbetaKernel__SWIG_1(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_new_KDE1DHOSymbetaKernel__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KDE1DHOSymbetaKernel'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::KDE1DHOSymbetaKernel::KDE1DHOSymbetaKernel(int,double,double)\n"
" npstat::KDE1DHOSymbetaKernel::KDE1DHOSymbetaKernel(int,double)\n"
" npstat::KDE1DHOSymbetaKernel::KDE1DHOSymbetaKernel(npstat::KDE1DHOSymbetaKernel const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_KDE1DHOSymbetaKernel_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = (npstat::KDE1DHOSymbetaKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::KDE1DHOSymbetaKernel *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KDE1DHOSymbetaKernel_clone" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(argp1);
{
try {
result = (npstat::KDE1DHOSymbetaKernel *)((npstat::KDE1DHOSymbetaKernel const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_KDE1DHOSymbetaKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = (npstat::KDE1DHOSymbetaKernel *) 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__KDE1DHOSymbetaKernel, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KDE1DHOSymbetaKernel" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel *""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(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_KDE1DHOSymbetaKernel_setNormFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = (npstat::KDE1DHOSymbetaKernel *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "KDE1DHOSymbetaKernel_setNormFactor", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KDE1DHOSymbetaKernel_setNormFactor" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel *""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KDE1DHOSymbetaKernel_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_KDE1DHOSymbetaKernel_power(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = (npstat::KDE1DHOSymbetaKernel *) 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__KDE1DHOSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KDE1DHOSymbetaKernel_power" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(argp1);
{
try {
result = (int)((npstat::KDE1DHOSymbetaKernel const *)arg1)->power();
} 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_KDE1DHOSymbetaKernel_filterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = (npstat::KDE1DHOSymbetaKernel *) 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__KDE1DHOSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KDE1DHOSymbetaKernel_filterDegree" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(argp1);
{
try {
result = (double)((npstat::KDE1DHOSymbetaKernel 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_KDE1DHOSymbetaKernel_weight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = (npstat::KDE1DHOSymbetaKernel *) 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, "KDE1DHOSymbetaKernel_weight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KDE1DHOSymbetaKernel_weight" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KDE1DHOSymbetaKernel_weight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::KDE1DHOSymbetaKernel const *)arg1)->weight(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_KDE1DHOSymbetaKernel_xmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = (npstat::KDE1DHOSymbetaKernel *) 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__KDE1DHOSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KDE1DHOSymbetaKernel_xmin" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(argp1);
{
try {
result = (double)((npstat::KDE1DHOSymbetaKernel 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_KDE1DHOSymbetaKernel_xmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = (npstat::KDE1DHOSymbetaKernel *) 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__KDE1DHOSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KDE1DHOSymbetaKernel_xmax" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(argp1);
{
try {
result = (double)((npstat::KDE1DHOSymbetaKernel 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_KDE1DHOSymbetaKernel_normFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = (npstat::KDE1DHOSymbetaKernel *) 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__KDE1DHOSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KDE1DHOSymbetaKernel_normFactor" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(argp1);
{
try {
result = (double)((npstat::KDE1DHOSymbetaKernel 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_KDE1DHOSymbetaKernel___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDE1DHOSymbetaKernel *arg1 = (npstat::KDE1DHOSymbetaKernel *) 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, "KDE1DHOSymbetaKernel___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KDE1DHOSymbetaKernel___call__" "', argument " "1"" of type '" "npstat::KDE1DHOSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::KDE1DHOSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KDE1DHOSymbetaKernel___call__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::KDE1DHOSymbetaKernel 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 *KDE1DHOSymbetaKernel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__KDE1DHOSymbetaKernel, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *KDE1DHOSymbetaKernel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_UCharBandwidthGCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquares1D< unsigned char,double > *arg1 = (npstat::BandwidthGCVLeastSquares1D< 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__BandwidthGCVLeastSquares1DT_unsigned_char_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharBandwidthGCVLeastSquares1D" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquares1D< unsigned char,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquares1D< 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_UCharBandwidthGCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquares1D< unsigned char,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UCharBandwidthGCVLeastSquares1D", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVLeastSquares1D< unsigned char,double > *)new npstat::BandwidthGCVLeastSquares1D< unsigned char,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVLeastSquares1DT_unsigned_char_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *UCharBandwidthGCVLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVLeastSquares1DT_unsigned_char_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharBandwidthGCVLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_IntBandwidthGCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquares1D< int,double > *arg1 = (npstat::BandwidthGCVLeastSquares1D< 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__BandwidthGCVLeastSquares1DT_int_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntBandwidthGCVLeastSquares1D" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquares1D< int,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquares1D< 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_IntBandwidthGCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquares1D< int,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_IntBandwidthGCVLeastSquares1D", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVLeastSquares1D< int,double > *)new npstat::BandwidthGCVLeastSquares1D< int,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVLeastSquares1DT_int_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *IntBandwidthGCVLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVLeastSquares1DT_int_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntBandwidthGCVLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LongBandwidthGCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquares1D< long,double > *arg1 = (npstat::BandwidthGCVLeastSquares1D< 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__BandwidthGCVLeastSquares1DT_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongBandwidthGCVLeastSquares1D" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquares1D< long,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquares1D< 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_LongBandwidthGCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquares1D< long,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LongBandwidthGCVLeastSquares1D", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVLeastSquares1D< long,double > *)new npstat::BandwidthGCVLeastSquares1D< long,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVLeastSquares1DT_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LongBandwidthGCVLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVLeastSquares1DT_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongBandwidthGCVLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_FloatBandwidthGCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquares1D< float,double > *arg1 = (npstat::BandwidthGCVLeastSquares1D< 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__BandwidthGCVLeastSquares1DT_float_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatBandwidthGCVLeastSquares1D" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquares1D< float,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquares1D< 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_FloatBandwidthGCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquares1D< float,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FloatBandwidthGCVLeastSquares1D", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVLeastSquares1D< float,double > *)new npstat::BandwidthGCVLeastSquares1D< float,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVLeastSquares1DT_float_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatBandwidthGCVLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVLeastSquares1DT_float_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatBandwidthGCVLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_DoubleBandwidthGCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquares1D< double,double > *arg1 = (npstat::BandwidthGCVLeastSquares1D< 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__BandwidthGCVLeastSquares1DT_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleBandwidthGCVLeastSquares1D" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquares1D< double,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquares1D< 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_DoubleBandwidthGCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquares1D< double,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleBandwidthGCVLeastSquares1D", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVLeastSquares1D< double,double > *)new npstat::BandwidthGCVLeastSquares1D< double,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVLeastSquares1DT_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleBandwidthGCVLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVLeastSquares1DT_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleBandwidthGCVLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_correctDensityEstimateGHUOrig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned long arg4 ;
double arg5 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int i3 = 1 ;
double val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "correctDensityEstimateGHUOrig", 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);
}
{
array3 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array3 || !require_dimensions(array3,1) || !require_contiguous(array3)
|| !require_native(array3)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = 1;
for (i3=0; i3 < array_numdims(array3); ++i3) arg4 *= array_size(array3,i3);
}
ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "correctDensityEstimateGHUOrig" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
npstat::correctDensityEstimateGHU((double const *)arg1,arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
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_DensityOrthoPoly1D__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 ;
npstat::OrthoPolyMethod arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
npstat::DensityOrthoPoly1D *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_DensityOrthoPoly1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityOrthoPoly1D" "', 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_DensityOrthoPoly1D" "', 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_DensityOrthoPoly1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DensityOrthoPoly1D" "', argument " "4"" of type '" "npstat::OrthoPolyMethod""'");
}
arg4 = static_cast< npstat::OrthoPolyMethod >(val4);
{
try {
result = (npstat::DensityOrthoPoly1D *)new npstat::DensityOrthoPoly1D((npstat::AbsDistribution1D 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__DensityOrthoPoly1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DensityOrthoPoly1D__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 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::DensityOrthoPoly1D *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_DensityOrthoPoly1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityOrthoPoly1D" "', 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_DensityOrthoPoly1D" "', 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_DensityOrthoPoly1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::DensityOrthoPoly1D *)new npstat::DensityOrthoPoly1D((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__DensityOrthoPoly1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DensityOrthoPoly1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DensityOrthoPoly1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::DensityOrthoPoly1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DensityOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DensityOrthoPoly1D" "', argument " "1"" of type '" "npstat::DensityOrthoPoly1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensityOrthoPoly1D" "', argument " "1"" of type '" "npstat::DensityOrthoPoly1D const &""'");
}
arg1 = reinterpret_cast< npstat::DensityOrthoPoly1D * >(argp1);
{
try {
result = (npstat::DensityOrthoPoly1D *)new npstat::DensityOrthoPoly1D((npstat::DensityOrthoPoly1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DensityOrthoPoly1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DensityOrthoPoly1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DensityOrthoPoly1D", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DensityOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DensityOrthoPoly1D__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_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_DensityOrthoPoly1D__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) {
{
int res = SWIG_AsVal_unsigned_SS_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_new_DensityOrthoPoly1D__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DensityOrthoPoly1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::DensityOrthoPoly1D::DensityOrthoPoly1D(npstat::AbsDistribution1D const &,unsigned int,unsigned int,npstat::OrthoPolyMethod)\n"
" npstat::DensityOrthoPoly1D::DensityOrthoPoly1D(npstat::AbsDistribution1D const &,unsigned int,unsigned int)\n"
" npstat::DensityOrthoPoly1D::DensityOrthoPoly1D(npstat::DensityOrthoPoly1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DensityOrthoPoly1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityOrthoPoly1D *arg1 = (npstat::DensityOrthoPoly1D *) 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__DensityOrthoPoly1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DensityOrthoPoly1D" "', argument " "1"" of type '" "npstat::DensityOrthoPoly1D *""'");
}
arg1 = reinterpret_cast< npstat::DensityOrthoPoly1D * >(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_DensityOrthoPoly1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityOrthoPoly1D *arg1 = (npstat::DensityOrthoPoly1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::DensityOrthoPoly1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DensityOrthoPoly1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityOrthoPoly1D_clone" "', argument " "1"" of type '" "npstat::DensityOrthoPoly1D const *""'");
}
arg1 = reinterpret_cast< npstat::DensityOrthoPoly1D * >(argp1);
{
try {
result = (npstat::DensityOrthoPoly1D *)((npstat::DensityOrthoPoly1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DensityOrthoPoly1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DensityOrthoPoly1D_xmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityOrthoPoly1D *arg1 = (npstat::DensityOrthoPoly1D *) 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__DensityOrthoPoly1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityOrthoPoly1D_xmin" "', argument " "1"" of type '" "npstat::DensityOrthoPoly1D const *""'");
}
arg1 = reinterpret_cast< npstat::DensityOrthoPoly1D * >(argp1);
{
try {
result = (double)((npstat::DensityOrthoPoly1D 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_DensityOrthoPoly1D_xmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityOrthoPoly1D *arg1 = (npstat::DensityOrthoPoly1D *) 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__DensityOrthoPoly1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityOrthoPoly1D_xmax" "', argument " "1"" of type '" "npstat::DensityOrthoPoly1D const *""'");
}
arg1 = reinterpret_cast< npstat::DensityOrthoPoly1D * >(argp1);
{
try {
result = (double)((npstat::DensityOrthoPoly1D 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_DensityOrthoPoly1D_maxDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DensityOrthoPoly1D *arg1 = (npstat::DensityOrthoPoly1D *) 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__DensityOrthoPoly1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensityOrthoPoly1D_maxDegree" "', argument " "1"" of type '" "npstat::DensityOrthoPoly1D const *""'");
}
arg1 = reinterpret_cast< npstat::DensityOrthoPoly1D * >(argp1);
{
try {
result = (unsigned int)((npstat::DensityOrthoPoly1D 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 *DensityOrthoPoly1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DensityOrthoPoly1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DensityOrthoPoly1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_AbsDiscreteDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 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__AbsDiscreteDistribution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDiscreteDistribution1D" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(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_AbsDiscreteDistribution1D_probability(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsDiscreteDistribution1D_probability", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D_probability" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDiscreteDistribution1D_probability" "', argument " "2"" of type '" "long""'");
}
arg2 = static_cast< long >(val2);
{
try {
result = (double)((npstat::AbsDiscreteDistribution1D const *)arg1)->probability(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_AbsDiscreteDistribution1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 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, "AbsDiscreteDistribution1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D_cdf" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDiscreteDistribution1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::AbsDiscreteDistribution1D 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_AbsDiscreteDistribution1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 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, "AbsDiscreteDistribution1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D_exceedance" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDiscreteDistribution1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::AbsDiscreteDistribution1D 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_AbsDiscreteDistribution1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
long result;
if (!SWIG_Python_UnpackTuple(args, "AbsDiscreteDistribution1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D_quantile" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDiscreteDistribution1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (long)((npstat::AbsDiscreteDistribution1D const *)arg1)->quantile(arg2);
} 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_AbsDiscreteDistribution1D___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 0 ;
npstat::AbsDiscreteDistribution1D *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, "AbsDiscreteDistribution1D___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D___eq__" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsDiscreteDistribution1D___eq__" "', argument " "2"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDiscreteDistribution1D___eq__" "', argument " "2"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp2);
{
try {
result = (bool)((npstat::AbsDiscreteDistribution1D const *)arg1)->operator ==((npstat::AbsDiscreteDistribution1D 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_AbsDiscreteDistribution1D___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 0 ;
npstat::AbsDiscreteDistribution1D *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, "AbsDiscreteDistribution1D___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D___ne__" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsDiscreteDistribution1D___ne__" "', argument " "2"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDiscreteDistribution1D___ne__" "', argument " "2"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp2);
{
try {
result = (bool)((npstat::AbsDiscreteDistribution1D const *)arg1)->operator !=((npstat::AbsDiscreteDistribution1D 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_AbsDiscreteDistribution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsDiscreteDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D_clone" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDiscreteDistribution1D *)((npstat::AbsDiscreteDistribution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDiscreteDistribution1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 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__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D_classId" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp1);
{
try {
result = ((npstat::AbsDiscreteDistribution1D 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_AbsDiscreteDistribution1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 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, "AbsDiscreteDistribution1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D_write" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(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 '" "AbsDiscreteDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDiscreteDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::AbsDiscreteDistribution1D 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_AbsDiscreteDistribution1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDiscreteDistribution1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::AbsDiscreteDistribution1D::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_AbsDiscreteDistribution1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "AbsDiscreteDistribution1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::AbsDiscreteDistribution1D::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_AbsDiscreteDistribution1D_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::AbsDiscreteDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDiscreteDistribution1D_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 '" "AbsDiscreteDistribution1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDiscreteDistribution1D_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 '" "AbsDiscreteDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDiscreteDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::AbsDiscreteDistribution1D *)npstat::AbsDiscreteDistribution1D::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__AbsDiscreteDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDiscreteDistribution1D_random(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
long result;
if (!SWIG_Python_UnpackTuple(args, "AbsDiscreteDistribution1D_random", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D_random" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(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 '" "AbsDiscreteDistribution1D_random" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDiscreteDistribution1D_random" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
{
try {
result = (long)((npstat::AbsDiscreteDistribution1D const *)arg1)->random2(*arg2);
} 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_AbsDiscreteDistribution1D_generate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *arg1 = (npstat::AbsDiscreteDistribution1D *) 0 ;
npstat::AbsRandomGenerator *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] ;
std::vector< long,std::allocator< long > > result;
if (!SWIG_Python_UnpackTuple(args, "AbsDiscreteDistribution1D_generate", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1D_generate" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(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 '" "AbsDiscreteDistribution1D_generate" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDiscreteDistribution1D_generate" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsDiscreteDistribution1D_generate" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = npstat_AbsDiscreteDistribution1D_generate((npstat::AbsDiscreteDistribution1D const *)arg1,*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< long,std::allocator< long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *AbsDiscreteDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_ShiftableDiscreteDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ShiftableDiscreteDistribution1D *arg1 = (npstat::ShiftableDiscreteDistribution1D *) 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__ShiftableDiscreteDistribution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ShiftableDiscreteDistribution1D" "', argument " "1"" of type '" "npstat::ShiftableDiscreteDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::ShiftableDiscreteDistribution1D * >(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_ShiftableDiscreteDistribution1D_location(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ShiftableDiscreteDistribution1D *arg1 = (npstat::ShiftableDiscreteDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ShiftableDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ShiftableDiscreteDistribution1D_location" "', argument " "1"" of type '" "npstat::ShiftableDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ShiftableDiscreteDistribution1D * >(argp1);
{
try {
result = (long)((npstat::ShiftableDiscreteDistribution1D const *)arg1)->location();
} 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_ShiftableDiscreteDistribution1D_setLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ShiftableDiscreteDistribution1D *arg1 = (npstat::ShiftableDiscreteDistribution1D *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "ShiftableDiscreteDistribution1D_setLocation", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ShiftableDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ShiftableDiscreteDistribution1D_setLocation" "', argument " "1"" of type '" "npstat::ShiftableDiscreteDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::ShiftableDiscreteDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ShiftableDiscreteDistribution1D_setLocation" "', argument " "2"" of type '" "long""'");
}
arg2 = static_cast< long >(val2);
{
try {
(arg1)->setLocation(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ShiftableDiscreteDistribution1D_probability(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ShiftableDiscreteDistribution1D *arg1 = (npstat::ShiftableDiscreteDistribution1D *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "ShiftableDiscreteDistribution1D_probability", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ShiftableDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ShiftableDiscreteDistribution1D_probability" "', argument " "1"" of type '" "npstat::ShiftableDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ShiftableDiscreteDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ShiftableDiscreteDistribution1D_probability" "', argument " "2"" of type '" "long""'");
}
arg2 = static_cast< long >(val2);
{
try {
result = (double)((npstat::ShiftableDiscreteDistribution1D const *)arg1)->probability(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_ShiftableDiscreteDistribution1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ShiftableDiscreteDistribution1D *arg1 = (npstat::ShiftableDiscreteDistribution1D *) 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, "ShiftableDiscreteDistribution1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ShiftableDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ShiftableDiscreteDistribution1D_cdf" "', argument " "1"" of type '" "npstat::ShiftableDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ShiftableDiscreteDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ShiftableDiscreteDistribution1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::ShiftableDiscreteDistribution1D 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_ShiftableDiscreteDistribution1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ShiftableDiscreteDistribution1D *arg1 = (npstat::ShiftableDiscreteDistribution1D *) 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, "ShiftableDiscreteDistribution1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ShiftableDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ShiftableDiscreteDistribution1D_exceedance" "', argument " "1"" of type '" "npstat::ShiftableDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ShiftableDiscreteDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ShiftableDiscreteDistribution1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::ShiftableDiscreteDistribution1D 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_ShiftableDiscreteDistribution1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ShiftableDiscreteDistribution1D *arg1 = (npstat::ShiftableDiscreteDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
long result;
if (!SWIG_Python_UnpackTuple(args, "ShiftableDiscreteDistribution1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ShiftableDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ShiftableDiscreteDistribution1D_quantile" "', argument " "1"" of type '" "npstat::ShiftableDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ShiftableDiscreteDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ShiftableDiscreteDistribution1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (long)((npstat::ShiftableDiscreteDistribution1D const *)arg1)->quantile(arg2);
} 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_ShiftableDiscreteDistribution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ShiftableDiscreteDistribution1D *arg1 = (npstat::ShiftableDiscreteDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ShiftableDiscreteDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ShiftableDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ShiftableDiscreteDistribution1D_clone" "', argument " "1"" of type '" "npstat::ShiftableDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ShiftableDiscreteDistribution1D * >(argp1);
{
try {
result = (npstat::ShiftableDiscreteDistribution1D *)((npstat::ShiftableDiscreteDistribution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ShiftableDiscreteDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ShiftableDiscreteDistribution1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ShiftableDiscreteDistribution1D *arg1 = (npstat::ShiftableDiscreteDistribution1D *) 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__ShiftableDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ShiftableDiscreteDistribution1D_classId" "', argument " "1"" of type '" "npstat::ShiftableDiscreteDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ShiftableDiscreteDistribution1D * >(argp1);
{
try {
result = ((npstat::ShiftableDiscreteDistribution1D 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 *ShiftableDiscreteDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ShiftableDiscreteDistribution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_AbsDiscreteDistribution1DDistance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1DDistance *arg1 = (npstat::AbsDiscreteDistribution1DDistance *) 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__AbsDiscreteDistribution1DDistance, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDiscreteDistribution1DDistance" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1DDistance *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1DDistance * >(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_AbsDiscreteDistribution1DDistance___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1DDistance *arg1 = (npstat::AbsDiscreteDistribution1DDistance *) 0 ;
npstat::AbsDiscreteDistribution1D *arg2 = 0 ;
npstat::AbsDiscreteDistribution1D *arg3 = 0 ;
npstat::AbsDiscreteDistribution1D *arg4 = (npstat::AbsDiscreteDistribution1D *) 0 ;
long arg5 ;
long arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
long val5 ;
int ecode5 = 0 ;
long val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsDiscreteDistribution1DDistance___call__", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDiscreteDistribution1DDistance, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDiscreteDistribution1DDistance___call__" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1DDistance const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1DDistance * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsDiscreteDistribution1DDistance___call__" "', argument " "2"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDiscreteDistribution1DDistance___call__" "', argument " "2"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AbsDiscreteDistribution1DDistance___call__" "', argument " "3"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDiscreteDistribution1DDistance___call__" "', argument " "3"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AbsDiscreteDistribution1DDistance___call__" "', argument " "4"" of type '" "npstat::AbsDiscreteDistribution1D const *""'");
}
arg4 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AbsDiscreteDistribution1DDistance___call__" "', argument " "5"" of type '" "long""'");
}
arg5 = static_cast< long >(val5);
ecode6 = SWIG_AsVal_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AbsDiscreteDistribution1DDistance___call__" "', argument " "6"" of type '" "long""'");
}
arg6 = static_cast< long >(val6);
{
try {
result = (double)((npstat::AbsDiscreteDistribution1DDistance const *)arg1)->operator ()((npstat::AbsDiscreteDistribution1D const &)*arg2,(npstat::AbsDiscreteDistribution1D const &)*arg3,(npstat::AbsDiscreteDistribution1D const *)arg4,arg5,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 *AbsDiscreteDistribution1DDistance_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDiscreteDistribution1DDistance, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_AbsDiscreteDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *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::AbsDiscreteDistribution1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_AbsDiscreteDistribution1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_AbsDiscreteDistribution1D" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_AbsDiscreteDistribution1D" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_AbsDiscreteDistribution1D" "', 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_AbsDiscreteDistribution1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::AbsDiscreteDistribution1D > *)new gs::ArchiveRecord< npstat::AbsDiscreteDistribution1D >((npstat::AbsDiscreteDistribution1D 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__AbsDiscreteDistribution1D_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_AbsDiscreteDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::AbsDiscreteDistribution1D > *arg1 = (gs::ArchiveRecord< npstat::AbsDiscreteDistribution1D > *) 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__AbsDiscreteDistribution1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_AbsDiscreteDistribution1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::AbsDiscreteDistribution1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::AbsDiscreteDistribution1D > * >(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_AbsDiscreteDistribution1D_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__AbsDiscreteDistribution1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_AbsDiscreteDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_138(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDiscreteDistribution1D *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::AbsDiscreteDistribution1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::AbsDiscreteDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(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::AbsDiscreteDistribution1D >((npstat::AbsDiscreteDistribution1D 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::AbsDiscreteDistribution1D >(static_cast< const gs::ArchiveRecord< npstat::AbsDiscreteDistribution1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__AbsDiscreteDistribution1D_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_AbsDiscreteDistribution1D__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::AbsDiscreteDistribution1D > *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_AbsDiscreteDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AbsDiscreteDistribution1D" "', 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_AbsDiscreteDistribution1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::AbsDiscreteDistribution1D > *)new gs::Reference< npstat::AbsDiscreteDistribution1D >(*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__AbsDiscreteDistribution1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_AbsDiscreteDistribution1D__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::AbsDiscreteDistribution1D > *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_AbsDiscreteDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AbsDiscreteDistribution1D" "', 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_AbsDiscreteDistribution1D" "', 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_AbsDiscreteDistribution1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::AbsDiscreteDistribution1D > *)new gs::Reference< npstat::AbsDiscreteDistribution1D >(*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__AbsDiscreteDistribution1D_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_AbsDiscreteDistribution1D__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::AbsDiscreteDistribution1D > *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_AbsDiscreteDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AbsDiscreteDistribution1D" "', 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_AbsDiscreteDistribution1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AbsDiscreteDistribution1D" "', 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_AbsDiscreteDistribution1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AbsDiscreteDistribution1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::AbsDiscreteDistribution1D > *)new gs::Reference< npstat::AbsDiscreteDistribution1D >(*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__AbsDiscreteDistribution1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_AbsDiscreteDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_AbsDiscreteDistribution1D", 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_AbsDiscreteDistribution1D__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_AbsDiscreteDistribution1D__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_AbsDiscreteDistribution1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_AbsDiscreteDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::AbsDiscreteDistribution1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::AbsDiscreteDistribution1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::AbsDiscreteDistribution1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_AbsDiscreteDistribution1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::AbsDiscreteDistribution1D > *arg1 = (gs::Reference< npstat::AbsDiscreteDistribution1D > *) 0 ;
unsigned long arg2 ;
npstat::AbsDiscreteDistribution1D *arg3 = (npstat::AbsDiscreteDistribution1D *) 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_AbsDiscreteDistribution1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__AbsDiscreteDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_AbsDiscreteDistribution1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::AbsDiscreteDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::AbsDiscreteDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_AbsDiscreteDistribution1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_AbsDiscreteDistribution1D_restore" "', argument " "3"" of type '" "npstat::AbsDiscreteDistribution1D *""'");
}
arg3 = reinterpret_cast< npstat::AbsDiscreteDistribution1D * >(argp3);
{
try {
((gs::Reference< npstat::AbsDiscreteDistribution1D > 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_AbsDiscreteDistribution1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::AbsDiscreteDistribution1D > *arg1 = (gs::Reference< npstat::AbsDiscreteDistribution1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsDiscreteDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_AbsDiscreteDistribution1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__AbsDiscreteDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_AbsDiscreteDistribution1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::AbsDiscreteDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::AbsDiscreteDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_AbsDiscreteDistribution1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::AbsDiscreteDistribution1D *)gs_Reference_Sl_npstat_AbsDiscreteDistribution1D_Sg__retrieve((gs::Reference< npstat::AbsDiscreteDistribution1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDiscreteDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_AbsDiscreteDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::AbsDiscreteDistribution1D > *arg1 = (gs::Reference< npstat::AbsDiscreteDistribution1D > *) 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__AbsDiscreteDistribution1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_AbsDiscreteDistribution1D" "', argument " "1"" of type '" "gs::Reference< npstat::AbsDiscreteDistribution1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::AbsDiscreteDistribution1D > * >(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_AbsDiscreteDistribution1D_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__AbsDiscreteDistribution1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_AbsDiscreteDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DistributionMix1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::DistributionMix1D *)new npstat::DistributionMix1D();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DistributionMix1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DistributionMix1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::DistributionMix1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DistributionMix1D" "', argument " "1"" of type '" "npstat::DistributionMix1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DistributionMix1D" "', argument " "1"" of type '" "npstat::DistributionMix1D const &""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
{
try {
result = (npstat::DistributionMix1D *)new npstat::DistributionMix1D((npstat::DistributionMix1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DistributionMix1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DistributionMix1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DistributionMix1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_DistributionMix1D__SWIG_0(self, argc, argv);
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DistributionMix1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DistributionMix1D__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DistributionMix1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::DistributionMix1D::DistributionMix1D()\n"
" npstat::DistributionMix1D::DistributionMix1D(npstat::DistributionMix1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DistributionMix1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::DistributionMix1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_clone" "', argument " "1"" of type '" "npstat::DistributionMix1D const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
{
try {
result = (npstat::DistributionMix1D *)((npstat::DistributionMix1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DistributionMix1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DistributionMix1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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__DistributionMix1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DistributionMix1D" "', argument " "1"" of type '" "npstat::DistributionMix1D *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(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_DistributionMix1D_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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] ;
npstat::DistributionMix1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DistributionMix1D_add", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_add" "', argument " "1"" of type '" "npstat::DistributionMix1D *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(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 '" "DistributionMix1D_add" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DistributionMix1D_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 '" "DistributionMix1D_add" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::DistributionMix1D *) &(arg1)->add((npstat::AbsDistribution1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DistributionMix1D_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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, "DistributionMix1D_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_setWeights" "', argument " "1"" of type '" "npstat::DistributionMix1D *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(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)->setWeights((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_DistributionMix1D_nComponents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_nComponents" "', argument " "1"" of type '" "npstat::DistributionMix1D const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
{
try {
result = (unsigned int)((npstat::DistributionMix1D const *)arg1)->nComponents();
} 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_DistributionMix1D_getComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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, "DistributionMix1D_getComponent", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_getComponent" "', argument " "1"" of type '" "npstat::DistributionMix1D const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DistributionMix1D_getComponent" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::AbsDistribution1D *) &((npstat::DistributionMix1D const *)arg1)->getComponent(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_DistributionMix1D_getWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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, "DistributionMix1D_getWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_getWeight" "', argument " "1"" of type '" "npstat::DistributionMix1D const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DistributionMix1D_getWeight" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::DistributionMix1D const *)arg1)->getWeight(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_DistributionMix1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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, "DistributionMix1D_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_density" "', argument " "1"" of type '" "npstat::DistributionMix1D const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DistributionMix1D_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::DistributionMix1D 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_DistributionMix1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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, "DistributionMix1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_cdf" "', argument " "1"" of type '" "npstat::DistributionMix1D const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DistributionMix1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::DistributionMix1D 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_DistributionMix1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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, "DistributionMix1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_exceedance" "', argument " "1"" of type '" "npstat::DistributionMix1D const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DistributionMix1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::DistributionMix1D 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_DistributionMix1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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, "DistributionMix1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_quantile" "', argument " "1"" of type '" "npstat::DistributionMix1D const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DistributionMix1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::DistributionMix1D 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_DistributionMix1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_classId" "', argument " "1"" of type '" "npstat::DistributionMix1D const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
{
try {
result = ((npstat::DistributionMix1D 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_DistributionMix1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *arg1 = (npstat::DistributionMix1D *) 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, "DistributionMix1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMix1D_write" "', argument " "1"" of type '" "npstat::DistributionMix1D const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(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 '" "DistributionMix1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DistributionMix1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::DistributionMix1D 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_DistributionMix1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DistributionMix1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::DistributionMix1D::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_DistributionMix1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DistributionMix1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::DistributionMix1D::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_DistributionMix1D_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::DistributionMix1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DistributionMix1D_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 '" "DistributionMix1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DistributionMix1D_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 '" "DistributionMix1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DistributionMix1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::DistributionMix1D *)npstat::DistributionMix1D::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__DistributionMix1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DistributionMix1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DistributionMix1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DistributionMix1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_DistributionMix1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *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::DistributionMix1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_DistributionMix1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_DistributionMix1D" "', argument " "1"" of type '" "npstat::DistributionMix1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_DistributionMix1D" "', argument " "1"" of type '" "npstat::DistributionMix1D const &""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_DistributionMix1D" "', 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_DistributionMix1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::DistributionMix1D > *)new gs::ArchiveRecord< npstat::DistributionMix1D >((npstat::DistributionMix1D 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__DistributionMix1D_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_DistributionMix1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::DistributionMix1D > *arg1 = (gs::ArchiveRecord< npstat::DistributionMix1D > *) 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__DistributionMix1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_DistributionMix1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::DistributionMix1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::DistributionMix1D > * >(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_DistributionMix1D_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__DistributionMix1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_DistributionMix1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_139(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DistributionMix1D *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::DistributionMix1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::DistributionMix1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::DistributionMix1D const &""'");
}
arg1 = reinterpret_cast< npstat::DistributionMix1D * >(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::DistributionMix1D >((npstat::DistributionMix1D 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::DistributionMix1D >(static_cast< const gs::ArchiveRecord< npstat::DistributionMix1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__DistributionMix1D_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_DistributionMix1D__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::DistributionMix1D > *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_DistributionMix1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DistributionMix1D" "', 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_DistributionMix1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::DistributionMix1D > *)new gs::Reference< npstat::DistributionMix1D >(*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__DistributionMix1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DistributionMix1D__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::DistributionMix1D > *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_DistributionMix1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DistributionMix1D" "', 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_DistributionMix1D" "', 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_DistributionMix1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::DistributionMix1D > *)new gs::Reference< npstat::DistributionMix1D >(*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__DistributionMix1D_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_DistributionMix1D__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::DistributionMix1D > *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_DistributionMix1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DistributionMix1D" "', 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_DistributionMix1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DistributionMix1D" "', 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_DistributionMix1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DistributionMix1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::DistributionMix1D > *)new gs::Reference< npstat::DistributionMix1D >(*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__DistributionMix1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DistributionMix1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_DistributionMix1D", 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_DistributionMix1D__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_DistributionMix1D__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_DistributionMix1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_DistributionMix1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::DistributionMix1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::DistributionMix1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::DistributionMix1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_DistributionMix1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DistributionMix1D > *arg1 = (gs::Reference< npstat::DistributionMix1D > *) 0 ;
unsigned long arg2 ;
npstat::DistributionMix1D *arg3 = (npstat::DistributionMix1D *) 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_DistributionMix1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DistributionMix1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DistributionMix1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::DistributionMix1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DistributionMix1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DistributionMix1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__DistributionMix1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_DistributionMix1D_restore" "', argument " "3"" of type '" "npstat::DistributionMix1D *""'");
}
arg3 = reinterpret_cast< npstat::DistributionMix1D * >(argp3);
{
try {
((gs::Reference< npstat::DistributionMix1D > 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_DistributionMix1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DistributionMix1D > *arg1 = (gs::Reference< npstat::DistributionMix1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::DistributionMix1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_DistributionMix1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DistributionMix1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DistributionMix1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::DistributionMix1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DistributionMix1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DistributionMix1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::DistributionMix1D *)gs_Reference_Sl_npstat_DistributionMix1D_Sg__retrieve((gs::Reference< npstat::DistributionMix1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DistributionMix1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_DistributionMix1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DistributionMix1D > *arg1 = (gs::Reference< npstat::DistributionMix1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::DistributionMix1D result;
if (!SWIG_Python_UnpackTuple(args, "Ref_DistributionMix1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DistributionMix1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DistributionMix1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::DistributionMix1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DistributionMix1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DistributionMix1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_DistributionMix1D_Sg__getValue((gs::Reference< npstat::DistributionMix1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::DistributionMix1D(static_cast< const npstat::DistributionMix1D& >(result))), SWIGTYPE_p_npstat__DistributionMix1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_DistributionMix1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DistributionMix1D > *arg1 = (gs::Reference< npstat::DistributionMix1D > *) 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__DistributionMix1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_DistributionMix1D" "', argument " "1"" of type '" "gs::Reference< npstat::DistributionMix1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DistributionMix1D > * >(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_DistributionMix1D_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__DistributionMix1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_DistributionMix1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_SinhAsinhTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SinhAsinhTransform1D *arg1 = (npstat::SinhAsinhTransform1D *) 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__SinhAsinhTransform1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SinhAsinhTransform1D" "', argument " "1"" of type '" "npstat::SinhAsinhTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::SinhAsinhTransform1D * >(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_SinhAsinhTransform1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SinhAsinhTransform1D *arg1 = (npstat::SinhAsinhTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::SinhAsinhTransform1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SinhAsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SinhAsinhTransform1D_clone" "', argument " "1"" of type '" "npstat::SinhAsinhTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::SinhAsinhTransform1D * >(argp1);
{
try {
result = (npstat::SinhAsinhTransform1D *)((npstat::SinhAsinhTransform1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SinhAsinhTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SinhAsinhTransform1D_transformBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SinhAsinhTransform1D *arg1 = (npstat::SinhAsinhTransform1D *) 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, "SinhAsinhTransform1D_transformBack", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SinhAsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SinhAsinhTransform1D_transformBack" "', argument " "1"" of type '" "npstat::SinhAsinhTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::SinhAsinhTransform1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SinhAsinhTransform1D_transformBack" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::SinhAsinhTransform1D 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_SinhAsinhTransform1D_isIncreasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SinhAsinhTransform1D *arg1 = (npstat::SinhAsinhTransform1D *) 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__SinhAsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SinhAsinhTransform1D_isIncreasing" "', argument " "1"" of type '" "npstat::SinhAsinhTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::SinhAsinhTransform1D * >(argp1);
{
try {
result = (bool)((npstat::SinhAsinhTransform1D 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_SinhAsinhTransform1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SinhAsinhTransform1D *arg1 = (npstat::SinhAsinhTransform1D *) 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__SinhAsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SinhAsinhTransform1D_classId" "', argument " "1"" of type '" "npstat::SinhAsinhTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::SinhAsinhTransform1D * >(argp1);
{
try {
result = ((npstat::SinhAsinhTransform1D 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_SinhAsinhTransform1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SinhAsinhTransform1D *arg1 = (npstat::SinhAsinhTransform1D *) 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, "SinhAsinhTransform1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SinhAsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SinhAsinhTransform1D_write" "', argument " "1"" of type '" "npstat::SinhAsinhTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::SinhAsinhTransform1D * >(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 '" "SinhAsinhTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SinhAsinhTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::SinhAsinhTransform1D 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_SinhAsinhTransform1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "SinhAsinhTransform1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::SinhAsinhTransform1D::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_SinhAsinhTransform1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "SinhAsinhTransform1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::SinhAsinhTransform1D::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_SinhAsinhTransform1D_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::SinhAsinhTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "SinhAsinhTransform1D_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 '" "SinhAsinhTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SinhAsinhTransform1D_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 '" "SinhAsinhTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SinhAsinhTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::SinhAsinhTransform1D *)npstat::SinhAsinhTransform1D::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__SinhAsinhTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SinhAsinhTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__SinhAsinhTransform1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_SinhAsinhTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SinhAsinhTransform1D *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::SinhAsinhTransform1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_SinhAsinhTransform1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__SinhAsinhTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_SinhAsinhTransform1D" "', argument " "1"" of type '" "npstat::SinhAsinhTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_SinhAsinhTransform1D" "', argument " "1"" of type '" "npstat::SinhAsinhTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::SinhAsinhTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_SinhAsinhTransform1D" "', 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_SinhAsinhTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::SinhAsinhTransform1D > *)new gs::ArchiveRecord< npstat::SinhAsinhTransform1D >((npstat::SinhAsinhTransform1D 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__SinhAsinhTransform1D_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_SinhAsinhTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::SinhAsinhTransform1D > *arg1 = (gs::ArchiveRecord< npstat::SinhAsinhTransform1D > *) 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__SinhAsinhTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_SinhAsinhTransform1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::SinhAsinhTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::SinhAsinhTransform1D > * >(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_SinhAsinhTransform1D_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__SinhAsinhTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_SinhAsinhTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_140(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::SinhAsinhTransform1D *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::SinhAsinhTransform1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__SinhAsinhTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::SinhAsinhTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::SinhAsinhTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::SinhAsinhTransform1D * >(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::SinhAsinhTransform1D >((npstat::SinhAsinhTransform1D 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::SinhAsinhTransform1D >(static_cast< const gs::ArchiveRecord< npstat::SinhAsinhTransform1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__SinhAsinhTransform1D_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_SinhAsinhTransform1D__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::SinhAsinhTransform1D > *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_SinhAsinhTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_SinhAsinhTransform1D" "', 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_SinhAsinhTransform1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::SinhAsinhTransform1D > *)new gs::Reference< npstat::SinhAsinhTransform1D >(*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__SinhAsinhTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_SinhAsinhTransform1D__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::SinhAsinhTransform1D > *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_SinhAsinhTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_SinhAsinhTransform1D" "', 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_SinhAsinhTransform1D" "', 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_SinhAsinhTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::SinhAsinhTransform1D > *)new gs::Reference< npstat::SinhAsinhTransform1D >(*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__SinhAsinhTransform1D_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_SinhAsinhTransform1D__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::SinhAsinhTransform1D > *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_SinhAsinhTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_SinhAsinhTransform1D" "', 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_SinhAsinhTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_SinhAsinhTransform1D" "', 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_SinhAsinhTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_SinhAsinhTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::SinhAsinhTransform1D > *)new gs::Reference< npstat::SinhAsinhTransform1D >(*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__SinhAsinhTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_SinhAsinhTransform1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_SinhAsinhTransform1D", 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_SinhAsinhTransform1D__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_SinhAsinhTransform1D__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_SinhAsinhTransform1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_SinhAsinhTransform1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::SinhAsinhTransform1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::SinhAsinhTransform1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::SinhAsinhTransform1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_SinhAsinhTransform1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::SinhAsinhTransform1D > *arg1 = (gs::Reference< npstat::SinhAsinhTransform1D > *) 0 ;
unsigned long arg2 ;
npstat::SinhAsinhTransform1D *arg3 = (npstat::SinhAsinhTransform1D *) 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_SinhAsinhTransform1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__SinhAsinhTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_SinhAsinhTransform1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::SinhAsinhTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::SinhAsinhTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_SinhAsinhTransform1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__SinhAsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_SinhAsinhTransform1D_restore" "', argument " "3"" of type '" "npstat::SinhAsinhTransform1D *""'");
}
arg3 = reinterpret_cast< npstat::SinhAsinhTransform1D * >(argp3);
{
try {
((gs::Reference< npstat::SinhAsinhTransform1D > 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_SinhAsinhTransform1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::SinhAsinhTransform1D > *arg1 = (gs::Reference< npstat::SinhAsinhTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::SinhAsinhTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_SinhAsinhTransform1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__SinhAsinhTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_SinhAsinhTransform1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::SinhAsinhTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::SinhAsinhTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_SinhAsinhTransform1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::SinhAsinhTransform1D *)gs_Reference_Sl_npstat_SinhAsinhTransform1D_Sg__retrieve((gs::Reference< npstat::SinhAsinhTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SinhAsinhTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_SinhAsinhTransform1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::SinhAsinhTransform1D > *arg1 = (gs::Reference< npstat::SinhAsinhTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::SinhAsinhTransform1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_SinhAsinhTransform1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__SinhAsinhTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_SinhAsinhTransform1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::SinhAsinhTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::SinhAsinhTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_SinhAsinhTransform1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_SinhAsinhTransform1D_Sg__getValue((gs::Reference< npstat::SinhAsinhTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::SinhAsinhTransform1D(static_cast< const npstat::SinhAsinhTransform1D& >(result))), SWIGTYPE_p_npstat__SinhAsinhTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_SinhAsinhTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::SinhAsinhTransform1D > *arg1 = (gs::Reference< npstat::SinhAsinhTransform1D > *) 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__SinhAsinhTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_SinhAsinhTransform1D" "', argument " "1"" of type '" "gs::Reference< npstat::SinhAsinhTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::SinhAsinhTransform1D > * >(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_SinhAsinhTransform1D_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__SinhAsinhTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_SinhAsinhTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_JohnsonOrthoPoly1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
unsigned int arg2 ;
- npstat::OrthoPolyMethod arg3 ;
+ unsigned int arg3 ;
+ npstat::OrthoPolyMethod arg4 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ unsigned int val2 ;
+ int ecode2 = 0 ;
+ unsigned int val3 ;
+ int ecode3 = 0 ;
+ int val4 ;
+ int ecode4 = 0 ;
+ npstat::JohnsonOrthoPoly1D *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_JohnsonOrthoPoly1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
+ }
+ if (!argp1) {
+ SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_JohnsonOrthoPoly1D" "', 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_JohnsonOrthoPoly1D" "', 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_JohnsonOrthoPoly1D" "', argument " "3"" of type '" "unsigned int""'");
+ }
+ arg3 = static_cast< unsigned int >(val3);
+ ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
+ if (!SWIG_IsOK(ecode4)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_JohnsonOrthoPoly1D" "', argument " "4"" of type '" "npstat::OrthoPolyMethod""'");
+ }
+ arg4 = static_cast< npstat::OrthoPolyMethod >(val4);
+ {
+ try {
+ result = (npstat::JohnsonOrthoPoly1D *)new npstat::JohnsonOrthoPoly1D((npstat::AbsDistribution1D 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__JohnsonOrthoPoly1D, SWIG_POINTER_NEW | 0 );
+ return resultobj;
+fail:
+ return NULL;
+}
+
+
+SWIGINTERN PyObject *_wrap_new_JohnsonOrthoPoly1D__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 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
- int val3 ;
+ unsigned int val3 ;
int ecode3 = 0 ;
npstat::JohnsonOrthoPoly1D *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_JohnsonOrthoPoly1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_JohnsonOrthoPoly1D" "', 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_JohnsonOrthoPoly1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
- ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
+ ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_JohnsonOrthoPoly1D" "', argument " "3"" of type '" "npstat::OrthoPolyMethod""'");
+ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_JohnsonOrthoPoly1D" "', argument " "3"" of type '" "unsigned int""'");
}
- arg3 = static_cast< npstat::OrthoPolyMethod >(val3);
+ arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::JohnsonOrthoPoly1D *)new npstat::JohnsonOrthoPoly1D((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__JohnsonOrthoPoly1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
-SWIGINTERN PyObject *_wrap_new_JohnsonOrthoPoly1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
+SWIGINTERN PyObject *_wrap_new_JohnsonOrthoPoly1D__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::JohnsonOrthoPoly1D *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_JohnsonOrthoPoly1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_JohnsonOrthoPoly1D" "', 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_JohnsonOrthoPoly1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::JohnsonOrthoPoly1D *)new npstat::JohnsonOrthoPoly1D((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__JohnsonOrthoPoly1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
-SWIGINTERN PyObject *_wrap_new_JohnsonOrthoPoly1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
+SWIGINTERN PyObject *_wrap_new_JohnsonOrthoPoly1D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::JohnsonOrthoPoly1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::JohnsonOrthoPoly1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__JohnsonOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_JohnsonOrthoPoly1D" "', argument " "1"" of type '" "npstat::JohnsonOrthoPoly1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_JohnsonOrthoPoly1D" "', argument " "1"" of type '" "npstat::JohnsonOrthoPoly1D const &""'");
}
arg1 = reinterpret_cast< npstat::JohnsonOrthoPoly1D * >(argp1);
{
try {
result = (npstat::JohnsonOrthoPoly1D *)new npstat::JohnsonOrthoPoly1D((npstat::JohnsonOrthoPoly1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonOrthoPoly1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_JohnsonOrthoPoly1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
- PyObject *argv[4] = {
+ PyObject *argv[5] = {
0
};
- if (!(argc = SWIG_Python_UnpackTuple(args, "new_JohnsonOrthoPoly1D", 0, 3, argv))) SWIG_fail;
+ if (!(argc = SWIG_Python_UnpackTuple(args, "new_JohnsonOrthoPoly1D", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__JohnsonOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
- return _wrap_new_JohnsonOrthoPoly1D__SWIG_2(self, argc, argv);
+ return _wrap_new_JohnsonOrthoPoly1D__SWIG_3(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_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
- return _wrap_new_JohnsonOrthoPoly1D__SWIG_1(self, argc, argv);
+ return _wrap_new_JohnsonOrthoPoly1D__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_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
- int res = SWIG_AsVal_int(argv[2], NULL);
+ int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
- return _wrap_new_JohnsonOrthoPoly1D__SWIG_0(self, argc, argv);
+ return _wrap_new_JohnsonOrthoPoly1D__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) {
+ {
+ int res = SWIG_AsVal_unsigned_SS_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_new_JohnsonOrthoPoly1D__SWIG_0(self, argc, argv);
+ }
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_JohnsonOrthoPoly1D'.\n"
" Possible C/C++ prototypes are:\n"
- " npstat::JohnsonOrthoPoly1D::JohnsonOrthoPoly1D(npstat::AbsDistribution1D const &,unsigned int,npstat::OrthoPolyMethod)\n"
+ " npstat::JohnsonOrthoPoly1D::JohnsonOrthoPoly1D(npstat::AbsDistribution1D const &,unsigned int,unsigned int,npstat::OrthoPolyMethod)\n"
+ " npstat::JohnsonOrthoPoly1D::JohnsonOrthoPoly1D(npstat::AbsDistribution1D const &,unsigned int,unsigned int)\n"
" npstat::JohnsonOrthoPoly1D::JohnsonOrthoPoly1D(npstat::AbsDistribution1D const &,unsigned int)\n"
" npstat::JohnsonOrthoPoly1D::JohnsonOrthoPoly1D(npstat::JohnsonOrthoPoly1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_JohnsonOrthoPoly1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonOrthoPoly1D *arg1 = (npstat::JohnsonOrthoPoly1D *) 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__JohnsonOrthoPoly1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_JohnsonOrthoPoly1D" "', argument " "1"" of type '" "npstat::JohnsonOrthoPoly1D *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonOrthoPoly1D * >(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_JohnsonOrthoPoly1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonOrthoPoly1D *arg1 = (npstat::JohnsonOrthoPoly1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::JohnsonOrthoPoly1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonOrthoPoly1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonOrthoPoly1D_clone" "', argument " "1"" of type '" "npstat::JohnsonOrthoPoly1D const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonOrthoPoly1D * >(argp1);
{
try {
result = (npstat::JohnsonOrthoPoly1D *)((npstat::JohnsonOrthoPoly1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonOrthoPoly1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonOrthoPoly1D_xmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonOrthoPoly1D *arg1 = (npstat::JohnsonOrthoPoly1D *) 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__JohnsonOrthoPoly1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonOrthoPoly1D_xmin" "', argument " "1"" of type '" "npstat::JohnsonOrthoPoly1D const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonOrthoPoly1D * >(argp1);
{
try {
result = (double)((npstat::JohnsonOrthoPoly1D 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_JohnsonOrthoPoly1D_xmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonOrthoPoly1D *arg1 = (npstat::JohnsonOrthoPoly1D *) 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__JohnsonOrthoPoly1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonOrthoPoly1D_xmax" "', argument " "1"" of type '" "npstat::JohnsonOrthoPoly1D const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonOrthoPoly1D * >(argp1);
{
try {
result = (double)((npstat::JohnsonOrthoPoly1D 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_JohnsonOrthoPoly1D_maxDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonOrthoPoly1D *arg1 = (npstat::JohnsonOrthoPoly1D *) 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__JohnsonOrthoPoly1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonOrthoPoly1D_maxDegree" "', argument " "1"" of type '" "npstat::JohnsonOrthoPoly1D const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonOrthoPoly1D * >(argp1);
{
try {
result = (unsigned int)((npstat::JohnsonOrthoPoly1D 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 *JohnsonOrthoPoly1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__JohnsonOrthoPoly1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *JohnsonOrthoPoly1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_HistoNDCdf_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::HistoNDCdf *arg1 = (npstat::HistoNDCdf *) 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__HistoNDCdf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HistoNDCdf_dim" "', argument " "1"" of type '" "npstat::HistoNDCdf const *""'");
}
arg1 = reinterpret_cast< npstat::HistoNDCdf * >(argp1);
{
try {
result = (unsigned int)((npstat::HistoNDCdf 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_HistoNDCdf_boundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::HistoNDCdf *arg1 = (npstat::HistoNDCdf *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoxND< double > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDCdf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HistoNDCdf_boundingBox" "', argument " "1"" of type '" "npstat::HistoNDCdf const *""'");
}
arg1 = reinterpret_cast< npstat::HistoNDCdf * >(argp1);
{
try {
result = ((npstat::HistoNDCdf const *)arg1)->boundingBox();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::BoxND< double >(static_cast< const npstat::BoxND< double >& >(result))), SWIGTYPE_p_npstat__BoxNDT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_HistoNDCdf_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::HistoNDCdf *arg1 = (npstat::HistoNDCdf *) 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, "HistoNDCdf_cdf", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDCdf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HistoNDCdf_cdf" "', argument " "1"" of type '" "npstat::HistoNDCdf const *""'");
}
arg1 = reinterpret_cast< npstat::HistoNDCdf * >(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 '" "HistoNDCdf_cdf" "', 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 '" "HistoNDCdf_cdf" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::HistoNDCdf const *)arg1)->cdf((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_HistoNDCdf_boxCoverage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::HistoNDCdf *arg1 = (npstat::HistoNDCdf *) 0 ;
npstat::BoxND< 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, "HistoNDCdf_boxCoverage", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDCdf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HistoNDCdf_boxCoverage" "', argument " "1"" of type '" "npstat::HistoNDCdf const *""'");
}
arg1 = reinterpret_cast< npstat::HistoNDCdf * >(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 '" "HistoNDCdf_boxCoverage" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HistoNDCdf_boxCoverage" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::BoxND< double > * >(argp2);
{
try {
result = (double)((npstat::HistoNDCdf const *)arg1)->boxCoverage((npstat::BoxND< 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_HistoNDCdf_coveringBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::HistoNDCdf *arg1 = (npstat::HistoNDCdf *) 0 ;
double arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = (npstat::BoxND< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
if (!SWIG_Python_UnpackTuple(args, "HistoNDCdf_coveringBox", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDCdf, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HistoNDCdf_coveringBox" "', argument " "1"" of type '" "npstat::HistoNDCdf const *""'");
}
arg1 = reinterpret_cast< npstat::HistoNDCdf * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HistoNDCdf_coveringBox" "', 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 '" "HistoNDCdf_coveringBox" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HistoNDCdf_coveringBox" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HistoNDCdf_coveringBox" "', argument " "5"" of type '" "npstat::BoxND< double > *""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
{
try {
((npstat::HistoNDCdf const *)arg1)->coveringBox(arg2,(double const *)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_new_HistoNDCdf__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char > *arg1 = 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::HistoNDCdf *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char > * >(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_HistoNDCdf" "', 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_HistoNDCdf" "', 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_HistoNDCdf" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::HistoNDCdf *)new npstat::HistoNDCdf((npstat::HistoND< unsigned char > 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__HistoNDCdf, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HistoNDCdf__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char > *arg1 = 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::HistoNDCdf *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char > * >(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_HistoNDCdf" "', 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_HistoNDCdf" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::HistoNDCdf *)new npstat::HistoNDCdf((npstat::HistoND< unsigned char > 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__HistoNDCdf, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HistoNDCdf__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int > *arg1 = 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::HistoNDCdf *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< int > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int > * >(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_HistoNDCdf" "', 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_HistoNDCdf" "', 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_HistoNDCdf" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::HistoNDCdf *)new npstat::HistoNDCdf((npstat::HistoND< int > 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__HistoNDCdf, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HistoNDCdf__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int > *arg1 = 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::HistoNDCdf *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< int > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int > * >(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_HistoNDCdf" "', 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_HistoNDCdf" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::HistoNDCdf *)new npstat::HistoNDCdf((npstat::HistoND< int > 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__HistoNDCdf, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HistoNDCdf__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long > *arg1 = 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::HistoNDCdf *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< long > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long > * >(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_HistoNDCdf" "', 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_HistoNDCdf" "', 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_HistoNDCdf" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::HistoNDCdf *)new npstat::HistoNDCdf((npstat::HistoND< long > 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__HistoNDCdf, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HistoNDCdf__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long > *arg1 = 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::HistoNDCdf *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< long > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long > * >(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_HistoNDCdf" "', 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_HistoNDCdf" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::HistoNDCdf *)new npstat::HistoNDCdf((npstat::HistoND< long > 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__HistoNDCdf, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HistoNDCdf__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float > *arg1 = 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::HistoNDCdf *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< float > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float > * >(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_HistoNDCdf" "', 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_HistoNDCdf" "', 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_HistoNDCdf" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::HistoNDCdf *)new npstat::HistoNDCdf((npstat::HistoND< float > 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__HistoNDCdf, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HistoNDCdf__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float > *arg1 = 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::HistoNDCdf *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< float > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float > * >(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_HistoNDCdf" "', 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_HistoNDCdf" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::HistoNDCdf *)new npstat::HistoNDCdf((npstat::HistoND< float > 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__HistoNDCdf, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HistoNDCdf__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double > *arg1 = 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::HistoNDCdf *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< double > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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_HistoNDCdf" "', 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_HistoNDCdf" "', 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_HistoNDCdf" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::HistoNDCdf *)new npstat::HistoNDCdf((npstat::HistoND< 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__HistoNDCdf, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HistoNDCdf__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double > *arg1 = 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::HistoNDCdf *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoND< double > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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_HistoNDCdf" "', 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_HistoNDCdf" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::HistoNDCdf *)new npstat::HistoNDCdf((npstat::HistoND< 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__HistoNDCdf, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_HistoNDCdf(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_HistoNDCdf", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_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_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_HistoNDCdf__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_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_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_HistoNDCdf__SWIG_5(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_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_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_HistoNDCdf__SWIG_7(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_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_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_HistoNDCdf__SWIG_9(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_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_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_HistoNDCdf__SWIG_11(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_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_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_HistoNDCdf__SWIG_4(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_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_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_HistoNDCdf__SWIG_8(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_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_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_HistoNDCdf__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_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_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_HistoNDCdf__SWIG_10(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_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_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_HistoNDCdf__SWIG_6(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_HistoNDCdf'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::HistoNDCdf::HistoNDCdf(npstat::HistoND< unsigned char > const &,double const *,unsigned int const,double const)\n"
" npstat::HistoNDCdf::HistoNDCdf(npstat::HistoND< unsigned char > const &,double const *,unsigned int const)\n"
" npstat::HistoNDCdf::HistoNDCdf(npstat::HistoND< int > const &,double const *,unsigned int const,double const)\n"
" npstat::HistoNDCdf::HistoNDCdf(npstat::HistoND< int > const &,double const *,unsigned int const)\n"
" npstat::HistoNDCdf::HistoNDCdf(npstat::HistoND< long > const &,double const *,unsigned int const,double const)\n"
" npstat::HistoNDCdf::HistoNDCdf(npstat::HistoND< long > const &,double const *,unsigned int const)\n"
" npstat::HistoNDCdf::HistoNDCdf(npstat::HistoND< float > const &,double const *,unsigned int const,double const)\n"
" npstat::HistoNDCdf::HistoNDCdf(npstat::HistoND< float > const &,double const *,unsigned int const)\n"
" npstat::HistoNDCdf::HistoNDCdf(npstat::HistoND< double > const &,double const *,unsigned int const,double const)\n"
" npstat::HistoNDCdf::HistoNDCdf(npstat::HistoND< double > const &,double const *,unsigned int const)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_HistoNDCdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::HistoNDCdf *arg1 = (npstat::HistoNDCdf *) 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__HistoNDCdf, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HistoNDCdf" "', argument " "1"" of type '" "npstat::HistoNDCdf *""'");
}
arg1 = reinterpret_cast< npstat::HistoNDCdf * >(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 *HistoNDCdf_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__HistoNDCdf, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *HistoNDCdf_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro2D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,2U > > *arg12 = 0 ;
bool arg13 ;
unsigned int arg14 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro2D" "', argument " "1"" of type '" "std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro2D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_2U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,2U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,2U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,2U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,2U > >((std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,2U > > const &)*arg12,arg13,arg14);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro2D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,2U > > *arg12 = 0 ;
bool arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro2D" "', argument " "1"" of type '" "std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro2D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_2U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,2U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,2U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,2U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,2U > >((std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,2U > > const &)*arg12,arg13);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro3D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,3U > > *arg12 = 0 ;
bool arg13 ;
unsigned int arg14 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro3D" "', argument " "1"" of type '" "std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro3D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_3U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,3U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,3U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,3U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,3U > >((std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,3U > > const &)*arg12,arg13,arg14);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro3D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,3U > > *arg12 = 0 ;
bool arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro3D" "', argument " "1"" of type '" "std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro3D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_3U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,3U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,3U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,3U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,3U > >((std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,3U > > const &)*arg12,arg13);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro4D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,4U > > *arg12 = 0 ;
bool arg13 ;
unsigned int arg14 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro4D" "', argument " "1"" of type '" "std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro4D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_4U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,4U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,4U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,4U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,4U > >((std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,4U > > const &)*arg12,arg13,arg14);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro4D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,4U > > *arg12 = 0 ;
bool arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro4D" "', argument " "1"" of type '" "std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro4D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_4U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,4U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,4U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,4U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,4U > >((std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,4U > > const &)*arg12,arg13);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro5D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,5U > > *arg12 = 0 ;
bool arg13 ;
unsigned int arg14 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro5D" "', argument " "1"" of type '" "std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro5D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_5U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,5U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,5U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,5U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,5U > >((std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,5U > > const &)*arg12,arg13,arg14);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro5D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,5U > > *arg12 = 0 ;
bool arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro5D" "', argument " "1"" of type '" "std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro5D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_5U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,5U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,5U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,5U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,5U > >((std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,5U > > const &)*arg12,arg13);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro6D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,6U > > *arg12 = 0 ;
bool arg13 ;
unsigned int arg14 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro6D" "', argument " "1"" of type '" "std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro6D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_6U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,6U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,6U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,6U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,6U > >((std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,6U > > const &)*arg12,arg13,arg14);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro6D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,6U > > *arg12 = 0 ;
bool arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro6D" "', argument " "1"" of type '" "std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro6D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_6U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,6U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,6U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,6U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,6U > >((std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,6U > > const &)*arg12,arg13);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro7D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,7U > > *arg12 = 0 ;
bool arg13 ;
unsigned int arg14 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro7D" "', argument " "1"" of type '" "std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro7D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_7U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,7U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,7U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,7U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,7U > >((std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,7U > > const &)*arg12,arg13,arg14);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro7D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,7U > > *arg12 = 0 ;
bool arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro7D" "', argument " "1"" of type '" "std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro7D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_7U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,7U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,7U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,7U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,7U > >((std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,7U > > const &)*arg12,arg13);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro8D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,8U > > *arg12 = 0 ;
bool arg13 ;
unsigned int arg14 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro8D" "', argument " "1"" of type '" "std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro8D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_8U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,8U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,8U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,8U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,8U > >((std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,8U > > const &)*arg12,arg13,arg14);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro8D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,8U > > *arg12 = 0 ;
bool arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro8D" "', argument " "1"" of type '" "std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro8D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_8U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,8U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,8U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,8U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,8U > >((std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,8U > > const &)*arg12,arg13);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro9D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,9U > > *arg12 = 0 ;
bool arg13 ;
unsigned int arg14 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro9D" "', argument " "1"" of type '" "std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro9D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_9U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,9U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,9U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,9U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,9U > >((std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,9U > > const &)*arg12,arg13,arg14);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro9D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,9U > > *arg12 = 0 ;
bool arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro9D" "', argument " "1"" of type '" "std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro9D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_9U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,9U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,9U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,9U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,9U > >((std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,9U > > const &)*arg12,arg13);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro10D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,10U > > *arg12 = 0 ;
bool arg13 ;
unsigned int arg14 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
unsigned int val14 ;
int ecode14 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro10D" "', argument " "1"" of type '" "std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro10D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_10U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,10U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,10U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,10U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
ecode14 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "14"" of type '" "unsigned int""'");
}
arg14 = static_cast< unsigned int >(val14);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,10U > >((std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,10U > > const &)*arg12,arg13,arg14);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro10D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int *arg10 = (unsigned int *) 0 ;
unsigned int arg11 ;
npstat::AbsCompositeDistroBuilder< std::array< double,10U > > *arg12 = 0 ;
bool arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
PyArrayObject *array10 = NULL ;
int is_new_object10 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro10D" "', argument " "1"" of type '" "std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro10D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
npy_intp size[1] = {
-1
};
array10 = obj_to_array_contiguous_allow_conversion(swig_obj[7],
NPY_UINT,
&is_new_object10);
if (!array10 || !require_dimensions(array10, 1) ||
!require_size(array10, size, 1)) SWIG_fail;
arg10 = (unsigned int*) array_data(array10);
arg11 = (int) array_size(array10,0);
}
res12 = SWIG_ConvertPtr(swig_obj[8], &argp12, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_10U_t_t, 0 | 0);
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,10U > > const &""'");
}
if (!argp12) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "12"" of type '" "npstat::AbsCompositeDistroBuilder< std::array< double,10U > > const &""'");
}
arg12 = reinterpret_cast< npstat::AbsCompositeDistroBuilder< std::array< double,10U > > * >(argp12);
ecode13 = SWIG_AsVal_bool(swig_obj[9], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedCompositeDistroND_2< std::array< double,10U > >((std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,(unsigned int const *)arg10,arg11,(npstat::AbsCompositeDistroBuilder< std::array< double,10U > > const &)*arg12,arg13);
} 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 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
{
if (is_new_object10 && array10)
{
Py_DECREF(array10);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro2D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,2U > > *arg11 = 0 ;
bool arg12 ;
unsigned int arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
unsigned int val13 ;
int ecode13 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro2D" "', argument " "1"" of type '" "std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro2D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_2U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,2U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "13"" of type '" "unsigned int""'");
}
arg13 = static_cast< unsigned int >(val13);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,2U > >((std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,2U > > const &)*arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro2D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,2U > > *arg11 = 0 ;
bool arg12 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro2D" "', argument " "1"" of type '" "std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro2D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_2U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,2U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,2U > >((std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,2U > > const &)*arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro2D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,2U > > *arg11 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro2D" "', argument " "1"" of type '" "std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro2D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_2U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro2D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,2U > > * >(argp11);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,2U > >((std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,2U > > const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro2D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "buildInterpolatedCompositeDistro2D", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 9) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_2U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_buildInterpolatedCompositeDistro2D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_2U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro2D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_2U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro2D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_2U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro2D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_2U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro2D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'buildInterpolatedCompositeDistro2D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,2U > >(std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,2U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,2U > >(std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,2U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,2U > >(std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,2U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,2U > >(std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,2U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,2U > >(std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,2U > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro3D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,3U > > *arg11 = 0 ;
bool arg12 ;
unsigned int arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
unsigned int val13 ;
int ecode13 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro3D" "', argument " "1"" of type '" "std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro3D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_3U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,3U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "13"" of type '" "unsigned int""'");
}
arg13 = static_cast< unsigned int >(val13);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,3U > >((std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,3U > > const &)*arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro3D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,3U > > *arg11 = 0 ;
bool arg12 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro3D" "', argument " "1"" of type '" "std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro3D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_3U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,3U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,3U > >((std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,3U > > const &)*arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro3D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,3U > > *arg11 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro3D" "', argument " "1"" of type '" "std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro3D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_3U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro3D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,3U > > * >(argp11);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,3U > >((std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,3U > > const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro3D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "buildInterpolatedCompositeDistro3D", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 9) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_3U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_buildInterpolatedCompositeDistro3D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_3U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro3D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_3U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro3D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_3U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro3D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_3U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro3D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'buildInterpolatedCompositeDistro3D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,3U > >(std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,3U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,3U > >(std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,3U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,3U > >(std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,3U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,3U > >(std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,3U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,3U > >(std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,3U > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro4D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,4U > > *arg11 = 0 ;
bool arg12 ;
unsigned int arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
unsigned int val13 ;
int ecode13 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro4D" "', argument " "1"" of type '" "std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro4D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_4U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,4U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "13"" of type '" "unsigned int""'");
}
arg13 = static_cast< unsigned int >(val13);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,4U > >((std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,4U > > const &)*arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro4D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,4U > > *arg11 = 0 ;
bool arg12 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro4D" "', argument " "1"" of type '" "std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro4D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_4U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,4U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,4U > >((std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,4U > > const &)*arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro4D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,4U > > *arg11 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro4D" "', argument " "1"" of type '" "std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro4D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_4U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro4D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,4U > > * >(argp11);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,4U > >((std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,4U > > const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro4D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "buildInterpolatedCompositeDistro4D", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 9) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_4U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_buildInterpolatedCompositeDistro4D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_4U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro4D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_4U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro4D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_4U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro4D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_4U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro4D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'buildInterpolatedCompositeDistro4D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,4U > >(std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,4U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,4U > >(std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,4U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,4U > >(std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,4U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,4U > >(std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,4U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,4U > >(std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,4U > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro5D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,5U > > *arg11 = 0 ;
bool arg12 ;
unsigned int arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
unsigned int val13 ;
int ecode13 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro5D" "', argument " "1"" of type '" "std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro5D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_5U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,5U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "13"" of type '" "unsigned int""'");
}
arg13 = static_cast< unsigned int >(val13);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,5U > >((std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,5U > > const &)*arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro5D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,5U > > *arg11 = 0 ;
bool arg12 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro5D" "', argument " "1"" of type '" "std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro5D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_5U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,5U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,5U > >((std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,5U > > const &)*arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro5D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,5U > > *arg11 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro5D" "', argument " "1"" of type '" "std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro5D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_5U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro5D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,5U > > * >(argp11);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,5U > >((std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,5U > > const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro5D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "buildInterpolatedCompositeDistro5D", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 9) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_5U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_buildInterpolatedCompositeDistro5D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_5U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro5D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_5U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro5D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_5U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro5D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_5U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro5D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'buildInterpolatedCompositeDistro5D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,5U > >(std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,5U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,5U > >(std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,5U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,5U > >(std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,5U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,5U > >(std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,5U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,5U > >(std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,5U > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro6D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,6U > > *arg11 = 0 ;
bool arg12 ;
unsigned int arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
unsigned int val13 ;
int ecode13 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro6D" "', argument " "1"" of type '" "std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro6D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_6U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,6U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "13"" of type '" "unsigned int""'");
}
arg13 = static_cast< unsigned int >(val13);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,6U > >((std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,6U > > const &)*arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro6D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,6U > > *arg11 = 0 ;
bool arg12 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro6D" "', argument " "1"" of type '" "std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro6D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_6U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,6U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,6U > >((std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,6U > > const &)*arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro6D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,6U > > *arg11 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro6D" "', argument " "1"" of type '" "std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro6D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_6U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro6D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,6U > > * >(argp11);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,6U > >((std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,6U > > const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro6D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "buildInterpolatedCompositeDistro6D", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 9) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_6U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_buildInterpolatedCompositeDistro6D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_6U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro6D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_6U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro6D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_6U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro6D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_6U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro6D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'buildInterpolatedCompositeDistro6D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,6U > >(std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,6U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,6U > >(std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,6U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,6U > >(std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,6U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,6U > >(std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,6U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,6U > >(std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,6U > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro7D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,7U > > *arg11 = 0 ;
bool arg12 ;
unsigned int arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
unsigned int val13 ;
int ecode13 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro7D" "', argument " "1"" of type '" "std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro7D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_7U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,7U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "13"" of type '" "unsigned int""'");
}
arg13 = static_cast< unsigned int >(val13);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,7U > >((std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,7U > > const &)*arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro7D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,7U > > *arg11 = 0 ;
bool arg12 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro7D" "', argument " "1"" of type '" "std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro7D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_7U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,7U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,7U > >((std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,7U > > const &)*arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro7D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,7U > > *arg11 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro7D" "', argument " "1"" of type '" "std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro7D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_7U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro7D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,7U > > * >(argp11);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,7U > >((std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,7U > > const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro7D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "buildInterpolatedCompositeDistro7D", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 9) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_7U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_buildInterpolatedCompositeDistro7D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_7U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro7D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_7U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro7D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_7U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro7D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_7U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro7D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'buildInterpolatedCompositeDistro7D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,7U > >(std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,7U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,7U > >(std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,7U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,7U > >(std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,7U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,7U > >(std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,7U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,7U > >(std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,7U > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro8D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,8U > > *arg11 = 0 ;
bool arg12 ;
unsigned int arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
unsigned int val13 ;
int ecode13 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro8D" "', argument " "1"" of type '" "std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro8D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_8U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,8U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "13"" of type '" "unsigned int""'");
}
arg13 = static_cast< unsigned int >(val13);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,8U > >((std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,8U > > const &)*arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro8D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,8U > > *arg11 = 0 ;
bool arg12 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro8D" "', argument " "1"" of type '" "std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro8D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_8U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,8U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,8U > >((std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,8U > > const &)*arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro8D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,8U > > *arg11 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro8D" "', argument " "1"" of type '" "std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro8D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_8U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro8D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,8U > > * >(argp11);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,8U > >((std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,8U > > const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro8D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "buildInterpolatedCompositeDistro8D", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 9) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_8U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_buildInterpolatedCompositeDistro8D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_8U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro8D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_8U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro8D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_8U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro8D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_8U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro8D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'buildInterpolatedCompositeDistro8D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,8U > >(std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,8U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,8U > >(std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,8U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,8U > >(std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,8U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,8U > >(std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,8U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,8U > >(std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,8U > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro9D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,9U > > *arg11 = 0 ;
bool arg12 ;
unsigned int arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
unsigned int val13 ;
int ecode13 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro9D" "', argument " "1"" of type '" "std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro9D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_9U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,9U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "13"" of type '" "unsigned int""'");
}
arg13 = static_cast< unsigned int >(val13);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,9U > >((std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,9U > > const &)*arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro9D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,9U > > *arg11 = 0 ;
bool arg12 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro9D" "', argument " "1"" of type '" "std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro9D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_9U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,9U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,9U > >((std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,9U > > const &)*arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro9D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,9U > > *arg11 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro9D" "', argument " "1"" of type '" "std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro9D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_9U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro9D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,9U > > * >(argp11);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,9U > >((std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,9U > > const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro9D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "buildInterpolatedCompositeDistro9D", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 9) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_9U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_buildInterpolatedCompositeDistro9D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_9U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro9D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_9U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro9D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_9U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro9D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_9U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro9D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'buildInterpolatedCompositeDistro9D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,9U > >(std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,9U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,9U > >(std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,9U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,9U > >(std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,9U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,9U > >(std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,9U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,9U > >(std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,9U > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro10D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,10U > > *arg11 = 0 ;
bool arg12 ;
unsigned int arg13 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
unsigned int val13 ;
int ecode13 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro10D" "', argument " "1"" of type '" "std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro10D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_10U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,10U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
ecode13 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "13"" of type '" "unsigned int""'");
}
arg13 = static_cast< unsigned int >(val13);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,10U > >((std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,10U > > const &)*arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro10D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,10U > > *arg11 = 0 ;
bool arg12 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro10D" "', argument " "1"" of type '" "std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro10D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_10U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,10U > > * >(argp11);
ecode12 = SWIG_AsVal_bool(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,10U > >((std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,10U > > const &)*arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro10D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::vector< std::string,std::allocator< std::string > > arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
int arg7 ;
double arg8 ;
bool arg9 ;
unsigned int arg10 ;
npstat::AbsDistro1DBuilder< std::array< double,10U > > *arg11 = 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
int val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
npstat::InterpolatedDistro1DNP *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "1"" 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 '" "buildInterpolatedCompositeDistro10D" "', argument " "1"" of type '" "std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &""'");
}
arg1 = ptr;
}
{
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);
}
{
std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *ptr = (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > > *)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 '" "buildInterpolatedCompositeDistro10D" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_UINT,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (unsigned int*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "7"" of type '" "int""'");
}
arg7 = static_cast< int >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[6], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[8], &argp11, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_10U_t_t, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > > const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "buildInterpolatedCompositeDistro10D" "', argument " "11"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > > const &""'");
}
arg11 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,10U > > * >(argp11);
{
try {
result = (npstat::InterpolatedDistro1DNP *)npstat::SWIGTEMPLATEDISAMBIGUATOR buildInterpolatedDistro1DNP_2< std::array< double,10U > >((std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4,(unsigned int const *)arg5,arg6,arg7,arg8,arg9,arg10,(npstat::AbsDistro1DBuilder< std::array< double,10U > > const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistro1DNP, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_buildInterpolatedCompositeDistro10D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "buildInterpolatedCompositeDistro10D", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 9) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_10U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_buildInterpolatedCompositeDistro10D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_10U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro10D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_10U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_buildInterpolatedCompositeDistro10D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(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_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_10U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro10D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,std::allocator< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_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_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[7]) || PySequence_Check(argv[7]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsCompositeDistroBuilderT_std__arrayT_double_10U_t_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_buildInterpolatedCompositeDistro10D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'buildInterpolatedCompositeDistro10D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,10U > >(std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,10U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedCompositeDistroND_2< std::array< double,10U > >(std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int const *,unsigned int,npstat::AbsCompositeDistroBuilder< std::array< double,10U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,10U > >(std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,10U > > const &,bool,unsigned int)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,10U > >(std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,10U > > const &,bool)\n"
" npstat::buildInterpolatedDistro1DNP_2< std::array< double,10U > >(std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &,unsigned int const *,unsigned int,std::vector< std::string,std::allocator< std::string > > const,unsigned int const *,unsigned int,int,double,bool,unsigned int,npstat::AbsDistro1DBuilder< std::array< double,10U > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_TransformedDistribution1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
npstat::TransformedDistribution1D *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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_TransformedDistribution1D" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TransformedDistribution1D" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(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_TransformedDistribution1D" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TransformedDistribution1D" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
{
try {
result = (npstat::TransformedDistribution1D *)new npstat::TransformedDistribution1D((npstat::AbsDistributionTransform1D 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__TransformedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TransformedDistribution1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::TransformedDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TransformedDistribution1D" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TransformedDistribution1D" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
{
try {
result = (npstat::TransformedDistribution1D *)new npstat::TransformedDistribution1D((npstat::TransformedDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__TransformedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TransformedDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_TransformedDistribution1D", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__TransformedDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_TransformedDistribution1D__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistributionTransform1D, 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_TransformedDistribution1D__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_TransformedDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::TransformedDistribution1D::TransformedDistribution1D(npstat::AbsDistributionTransform1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::TransformedDistribution1D::TransformedDistribution1D(npstat::TransformedDistribution1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_TransformedDistribution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::TransformedDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_clone" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
{
try {
result = (npstat::TransformedDistribution1D *)((npstat::TransformedDistribution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__TransformedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_TransformedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 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__TransformedDistribution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TransformedDistribution1D" "', argument " "1"" of type '" "npstat::TransformedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(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_TransformedDistribution1D_getTransform__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::AbsDistributionTransform1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_getTransform" "', argument " "1"" of type '" "npstat::TransformedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDistributionTransform1D *) &(arg1)->getTransform();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TransformedDistribution1D_getTransform__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::AbsDistributionTransform1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_getTransform" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDistributionTransform1D *) &((npstat::TransformedDistribution1D const *)arg1)->getTransform();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TransformedDistribution1D_getTransform(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "TransformedDistribution1D_getTransform", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__TransformedDistribution1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_TransformedDistribution1D_getTransform__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__TransformedDistribution1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_TransformedDistribution1D_getTransform__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'TransformedDistribution1D_getTransform'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::TransformedDistribution1D::getTransform()\n"
" npstat::TransformedDistribution1D::getTransform() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_TransformedDistribution1D_getUnderlyingDistro__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::AbsDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_getUnderlyingDistro" "', argument " "1"" of type '" "npstat::TransformedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &(arg1)->getUnderlyingDistro();
} 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_TransformedDistribution1D_getUnderlyingDistro__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::AbsDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_getUnderlyingDistro" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &((npstat::TransformedDistribution1D const *)arg1)->getUnderlyingDistro();
} 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_TransformedDistribution1D_getUnderlyingDistro(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "TransformedDistribution1D_getUnderlyingDistro", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__TransformedDistribution1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_TransformedDistribution1D_getUnderlyingDistro__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__TransformedDistribution1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_TransformedDistribution1D_getUnderlyingDistro__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'TransformedDistribution1D_getUnderlyingDistro'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::TransformedDistribution1D::getUnderlyingDistro()\n"
" npstat::TransformedDistribution1D::getUnderlyingDistro() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_TransformedDistribution1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 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, "TransformedDistribution1D_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_density" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TransformedDistribution1D_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::TransformedDistribution1D 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_TransformedDistribution1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 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, "TransformedDistribution1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_cdf" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TransformedDistribution1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::TransformedDistribution1D 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_TransformedDistribution1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 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, "TransformedDistribution1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_exceedance" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TransformedDistribution1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::TransformedDistribution1D 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_TransformedDistribution1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 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, "TransformedDistribution1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_quantile" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TransformedDistribution1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::TransformedDistribution1D 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_TransformedDistribution1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 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__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_classId" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
{
try {
result = ((npstat::TransformedDistribution1D 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_TransformedDistribution1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *arg1 = (npstat::TransformedDistribution1D *) 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, "TransformedDistribution1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedDistribution1D_write" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(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 '" "TransformedDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TransformedDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::TransformedDistribution1D 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_TransformedDistribution1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "TransformedDistribution1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::TransformedDistribution1D::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_TransformedDistribution1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "TransformedDistribution1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::TransformedDistribution1D::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_TransformedDistribution1D_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::TransformedDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "TransformedDistribution1D_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 '" "TransformedDistribution1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TransformedDistribution1D_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 '" "TransformedDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TransformedDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::TransformedDistribution1D *)npstat::TransformedDistribution1D::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__TransformedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *TransformedDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__TransformedDistribution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *TransformedDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_TransformedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *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::TransformedDistribution1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_TransformedDistribution1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_TransformedDistribution1D" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_TransformedDistribution1D" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_TransformedDistribution1D" "', 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_TransformedDistribution1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::TransformedDistribution1D > *)new gs::ArchiveRecord< npstat::TransformedDistribution1D >((npstat::TransformedDistribution1D 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__TransformedDistribution1D_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_TransformedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::TransformedDistribution1D > *arg1 = (gs::ArchiveRecord< npstat::TransformedDistribution1D > *) 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__TransformedDistribution1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_TransformedDistribution1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::TransformedDistribution1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::TransformedDistribution1D > * >(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_TransformedDistribution1D_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__TransformedDistribution1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_TransformedDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_141(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::TransformedDistribution1D *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::TransformedDistribution1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::TransformedDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::TransformedDistribution1D * >(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::TransformedDistribution1D >((npstat::TransformedDistribution1D 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::TransformedDistribution1D >(static_cast< const gs::ArchiveRecord< npstat::TransformedDistribution1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__TransformedDistribution1D_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_TransformedDistribution1D__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::TransformedDistribution1D > *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_TransformedDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_TransformedDistribution1D" "', 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_TransformedDistribution1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::TransformedDistribution1D > *)new gs::Reference< npstat::TransformedDistribution1D >(*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__TransformedDistribution1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_TransformedDistribution1D__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::TransformedDistribution1D > *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_TransformedDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_TransformedDistribution1D" "', 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_TransformedDistribution1D" "', 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_TransformedDistribution1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::TransformedDistribution1D > *)new gs::Reference< npstat::TransformedDistribution1D >(*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__TransformedDistribution1D_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_TransformedDistribution1D__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::TransformedDistribution1D > *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_TransformedDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_TransformedDistribution1D" "', 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_TransformedDistribution1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_TransformedDistribution1D" "', 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_TransformedDistribution1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_TransformedDistribution1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::TransformedDistribution1D > *)new gs::Reference< npstat::TransformedDistribution1D >(*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__TransformedDistribution1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_TransformedDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_TransformedDistribution1D", 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_TransformedDistribution1D__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_TransformedDistribution1D__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_TransformedDistribution1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_TransformedDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::TransformedDistribution1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::TransformedDistribution1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::TransformedDistribution1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_TransformedDistribution1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::TransformedDistribution1D > *arg1 = (gs::Reference< npstat::TransformedDistribution1D > *) 0 ;
unsigned long arg2 ;
npstat::TransformedDistribution1D *arg3 = (npstat::TransformedDistribution1D *) 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_TransformedDistribution1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__TransformedDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_TransformedDistribution1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::TransformedDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::TransformedDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_TransformedDistribution1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__TransformedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_TransformedDistribution1D_restore" "', argument " "3"" of type '" "npstat::TransformedDistribution1D *""'");
}
arg3 = reinterpret_cast< npstat::TransformedDistribution1D * >(argp3);
{
try {
((gs::Reference< npstat::TransformedDistribution1D > 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_TransformedDistribution1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::TransformedDistribution1D > *arg1 = (gs::Reference< npstat::TransformedDistribution1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::TransformedDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_TransformedDistribution1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__TransformedDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_TransformedDistribution1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::TransformedDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::TransformedDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_TransformedDistribution1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::TransformedDistribution1D *)gs_Reference_Sl_npstat_TransformedDistribution1D_Sg__retrieve((gs::Reference< npstat::TransformedDistribution1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__TransformedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_TransformedDistribution1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::TransformedDistribution1D > *arg1 = (gs::Reference< npstat::TransformedDistribution1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::TransformedDistribution1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_TransformedDistribution1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__TransformedDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_TransformedDistribution1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::TransformedDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::TransformedDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_TransformedDistribution1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_TransformedDistribution1D_Sg__getValue((gs::Reference< npstat::TransformedDistribution1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::TransformedDistribution1D(static_cast< const npstat::TransformedDistribution1D& >(result))), SWIGTYPE_p_npstat__TransformedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_TransformedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::TransformedDistribution1D > *arg1 = (gs::Reference< npstat::TransformedDistribution1D > *) 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__TransformedDistribution1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_TransformedDistribution1D" "', argument " "1"" of type '" "gs::Reference< npstat::TransformedDistribution1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::TransformedDistribution1D > * >(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_TransformedDistribution1D_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__TransformedDistribution1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_TransformedDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_empiricalCopulaDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = (npstat::ArrayND< double,1U,10U > *) 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "empiricalCopulaDensity", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< 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 '" "empiricalCopulaDensity" "', argument " "1"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaDensity" "', argument " "1"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'");
}
arg1 = ptr;
}
{
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__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "empiricalCopulaDensity" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaDensity< std::vector< double >,npstat::ArrayND< double > >((std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaDensity2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = (npstat::ArrayND< double,1U,10U > *) 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "empiricalCopulaDensity2D", 3, 3, swig_obj)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaDensity2D" "', argument " "1"" 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 '" "empiricalCopulaDensity2D" "', argument " "1"" of type '" "std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &""'");
}
arg1 = ptr;
}
{
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__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "empiricalCopulaDensity2D" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaDensity< std::array< double,2U >,npstat::ArrayND< double > >((std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaDensity3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = (npstat::ArrayND< double,1U,10U > *) 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "empiricalCopulaDensity3D", 3, 3, swig_obj)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaDensity3D" "', argument " "1"" 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 '" "empiricalCopulaDensity3D" "', argument " "1"" of type '" "std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &""'");
}
arg1 = ptr;
}
{
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__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "empiricalCopulaDensity3D" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaDensity< std::array< double,3U >,npstat::ArrayND< double > >((std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaDensity4D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = (npstat::ArrayND< double,1U,10U > *) 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "empiricalCopulaDensity4D", 3, 3, swig_obj)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaDensity4D" "', argument " "1"" 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 '" "empiricalCopulaDensity4D" "', argument " "1"" of type '" "std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &""'");
}
arg1 = ptr;
}
{
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__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "empiricalCopulaDensity4D" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaDensity< std::array< double,4U >,npstat::ArrayND< double > >((std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaDensity5D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = (npstat::ArrayND< double,1U,10U > *) 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "empiricalCopulaDensity5D", 3, 3, swig_obj)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaDensity5D" "', argument " "1"" 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 '" "empiricalCopulaDensity5D" "', argument " "1"" of type '" "std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &""'");
}
arg1 = ptr;
}
{
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__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "empiricalCopulaDensity5D" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaDensity< std::array< double,5U >,npstat::ArrayND< double > >((std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaDensity6D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = (npstat::ArrayND< double,1U,10U > *) 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "empiricalCopulaDensity6D", 3, 3, swig_obj)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaDensity6D" "', argument " "1"" 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 '" "empiricalCopulaDensity6D" "', argument " "1"" of type '" "std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &""'");
}
arg1 = ptr;
}
{
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__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "empiricalCopulaDensity6D" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaDensity< std::array< double,6U >,npstat::ArrayND< double > >((std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaDensity7D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = (npstat::ArrayND< double,1U,10U > *) 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "empiricalCopulaDensity7D", 3, 3, swig_obj)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaDensity7D" "', argument " "1"" 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 '" "empiricalCopulaDensity7D" "', argument " "1"" of type '" "std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &""'");
}
arg1 = ptr;
}
{
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__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "empiricalCopulaDensity7D" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaDensity< std::array< double,7U >,npstat::ArrayND< double > >((std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaDensity8D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = (npstat::ArrayND< double,1U,10U > *) 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "empiricalCopulaDensity8D", 3, 3, swig_obj)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaDensity8D" "', argument " "1"" 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 '" "empiricalCopulaDensity8D" "', argument " "1"" of type '" "std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &""'");
}
arg1 = ptr;
}
{
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__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "empiricalCopulaDensity8D" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaDensity< std::array< double,8U >,npstat::ArrayND< double > >((std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaDensity9D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = (npstat::ArrayND< double,1U,10U > *) 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "empiricalCopulaDensity9D", 3, 3, swig_obj)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaDensity9D" "', argument " "1"" 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 '" "empiricalCopulaDensity9D" "', argument " "1"" of type '" "std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &""'");
}
arg1 = ptr;
}
{
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__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "empiricalCopulaDensity9D" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaDensity< std::array< double,9U >,npstat::ArrayND< double > >((std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaDensity10D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = (npstat::ArrayND< double,1U,10U > *) 0 ;
int res1 = SWIG_OLDOBJ ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "empiricalCopulaDensity10D", 3, 3, swig_obj)) SWIG_fail;
{
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;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaDensity10D" "', argument " "1"" 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 '" "empiricalCopulaDensity10D" "', argument " "1"" of type '" "std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &""'");
}
arg1 = ptr;
}
{
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__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "empiricalCopulaDensity10D" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaDensity< std::array< double,10U >,npstat::ArrayND< double > >((std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &)*arg1,(unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_AsinhTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AsinhTransform1D *arg1 = (npstat::AsinhTransform1D *) 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__AsinhTransform1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AsinhTransform1D" "', argument " "1"" of type '" "npstat::AsinhTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::AsinhTransform1D * >(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_AsinhTransform1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AsinhTransform1D *arg1 = (npstat::AsinhTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AsinhTransform1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AsinhTransform1D_clone" "', argument " "1"" of type '" "npstat::AsinhTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AsinhTransform1D * >(argp1);
{
try {
result = (npstat::AsinhTransform1D *)((npstat::AsinhTransform1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AsinhTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AsinhTransform1D_transformBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AsinhTransform1D *arg1 = (npstat::AsinhTransform1D *) 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, "AsinhTransform1D_transformBack", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AsinhTransform1D_transformBack" "', argument " "1"" of type '" "npstat::AsinhTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AsinhTransform1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AsinhTransform1D_transformBack" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::AsinhTransform1D 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_AsinhTransform1D_isIncreasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AsinhTransform1D *arg1 = (npstat::AsinhTransform1D *) 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__AsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AsinhTransform1D_isIncreasing" "', argument " "1"" of type '" "npstat::AsinhTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AsinhTransform1D * >(argp1);
{
try {
result = (bool)((npstat::AsinhTransform1D 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_AsinhTransform1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AsinhTransform1D *arg1 = (npstat::AsinhTransform1D *) 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__AsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AsinhTransform1D_classId" "', argument " "1"" of type '" "npstat::AsinhTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AsinhTransform1D * >(argp1);
{
try {
result = ((npstat::AsinhTransform1D 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_AsinhTransform1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AsinhTransform1D *arg1 = (npstat::AsinhTransform1D *) 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, "AsinhTransform1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AsinhTransform1D_write" "', argument " "1"" of type '" "npstat::AsinhTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AsinhTransform1D * >(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 '" "AsinhTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AsinhTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::AsinhTransform1D 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_AsinhTransform1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AsinhTransform1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::AsinhTransform1D::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_AsinhTransform1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "AsinhTransform1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::AsinhTransform1D::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_AsinhTransform1D_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::AsinhTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AsinhTransform1D_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 '" "AsinhTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AsinhTransform1D_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 '" "AsinhTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AsinhTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::AsinhTransform1D *)npstat::AsinhTransform1D::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__AsinhTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *AsinhTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AsinhTransform1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_AsinhTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AsinhTransform1D *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::AsinhTransform1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_AsinhTransform1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AsinhTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_AsinhTransform1D" "', argument " "1"" of type '" "npstat::AsinhTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_AsinhTransform1D" "', argument " "1"" of type '" "npstat::AsinhTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::AsinhTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_AsinhTransform1D" "', 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_AsinhTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::AsinhTransform1D > *)new gs::ArchiveRecord< npstat::AsinhTransform1D >((npstat::AsinhTransform1D 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__AsinhTransform1D_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_AsinhTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::AsinhTransform1D > *arg1 = (gs::ArchiveRecord< npstat::AsinhTransform1D > *) 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__AsinhTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_AsinhTransform1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::AsinhTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::AsinhTransform1D > * >(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_AsinhTransform1D_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__AsinhTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_AsinhTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_142(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AsinhTransform1D *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::AsinhTransform1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AsinhTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::AsinhTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::AsinhTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::AsinhTransform1D * >(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::AsinhTransform1D >((npstat::AsinhTransform1D 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::AsinhTransform1D >(static_cast< const gs::ArchiveRecord< npstat::AsinhTransform1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__AsinhTransform1D_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_AsinhTransform1D__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::AsinhTransform1D > *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_AsinhTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AsinhTransform1D" "', 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_AsinhTransform1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::AsinhTransform1D > *)new gs::Reference< npstat::AsinhTransform1D >(*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__AsinhTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_AsinhTransform1D__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::AsinhTransform1D > *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_AsinhTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AsinhTransform1D" "', 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_AsinhTransform1D" "', 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_AsinhTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::AsinhTransform1D > *)new gs::Reference< npstat::AsinhTransform1D >(*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__AsinhTransform1D_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_AsinhTransform1D__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::AsinhTransform1D > *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_AsinhTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AsinhTransform1D" "', 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_AsinhTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AsinhTransform1D" "', 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_AsinhTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AsinhTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::AsinhTransform1D > *)new gs::Reference< npstat::AsinhTransform1D >(*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__AsinhTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_AsinhTransform1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_AsinhTransform1D", 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_AsinhTransform1D__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_AsinhTransform1D__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_AsinhTransform1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_AsinhTransform1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::AsinhTransform1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::AsinhTransform1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::AsinhTransform1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_AsinhTransform1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::AsinhTransform1D > *arg1 = (gs::Reference< npstat::AsinhTransform1D > *) 0 ;
unsigned long arg2 ;
npstat::AsinhTransform1D *arg3 = (npstat::AsinhTransform1D *) 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_AsinhTransform1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__AsinhTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_AsinhTransform1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::AsinhTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::AsinhTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_AsinhTransform1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__AsinhTransform1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_AsinhTransform1D_restore" "', argument " "3"" of type '" "npstat::AsinhTransform1D *""'");
}
arg3 = reinterpret_cast< npstat::AsinhTransform1D * >(argp3);
{
try {
((gs::Reference< npstat::AsinhTransform1D > 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_AsinhTransform1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::AsinhTransform1D > *arg1 = (gs::Reference< npstat::AsinhTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AsinhTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_AsinhTransform1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__AsinhTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_AsinhTransform1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::AsinhTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::AsinhTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_AsinhTransform1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::AsinhTransform1D *)gs_Reference_Sl_npstat_AsinhTransform1D_Sg__retrieve((gs::Reference< npstat::AsinhTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AsinhTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_AsinhTransform1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::AsinhTransform1D > *arg1 = (gs::Reference< npstat::AsinhTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::AsinhTransform1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_AsinhTransform1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__AsinhTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_AsinhTransform1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::AsinhTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::AsinhTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_AsinhTransform1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_AsinhTransform1D_Sg__getValue((gs::Reference< npstat::AsinhTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::AsinhTransform1D(static_cast< const npstat::AsinhTransform1D& >(result))), SWIGTYPE_p_npstat__AsinhTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_AsinhTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::AsinhTransform1D > *arg1 = (gs::Reference< npstat::AsinhTransform1D > *) 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__AsinhTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_AsinhTransform1D" "', argument " "1"" of type '" "gs::Reference< npstat::AsinhTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::AsinhTransform1D > * >(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_AsinhTransform1D_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__AsinhTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_AsinhTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_TruncatedDistribution1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
double arg2 ;
double arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
npstat::TruncatedDistribution1D *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_TruncatedDistribution1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (npstat::TruncatedDistribution1D *)new npstat::TruncatedDistribution1D((npstat::AbsDistribution1D 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__TruncatedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TruncatedDistribution1D__SWIG_1(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::TruncatedDistribution1D *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_TruncatedDistribution1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::TruncatedDistribution1D *)new npstat::TruncatedDistribution1D((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__TruncatedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TruncatedDistribution1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::TruncatedDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__TruncatedDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TruncatedDistribution1D" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TruncatedDistribution1D" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(argp1);
{
try {
result = (npstat::TruncatedDistribution1D *)new npstat::TruncatedDistribution1D((npstat::TruncatedDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__TruncatedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_TruncatedDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_TruncatedDistribution1D", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__TruncatedDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_TruncatedDistribution1D__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_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_TruncatedDistribution1D__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_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) {
return _wrap_new_TruncatedDistribution1D__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_TruncatedDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::TruncatedDistribution1D::TruncatedDistribution1D(npstat::AbsDistribution1D const &,double,double,bool)\n"
" npstat::TruncatedDistribution1D::TruncatedDistribution1D(npstat::AbsDistribution1D const &,double,double)\n"
" npstat::TruncatedDistribution1D::TruncatedDistribution1D(npstat::TruncatedDistribution1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_TruncatedDistribution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *arg1 = (npstat::TruncatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::TruncatedDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TruncatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TruncatedDistribution1D_clone" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(argp1);
{
try {
result = (npstat::TruncatedDistribution1D *)((npstat::TruncatedDistribution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__TruncatedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_TruncatedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *arg1 = (npstat::TruncatedDistribution1D *) 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__TruncatedDistribution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TruncatedDistribution1D" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(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_TruncatedDistribution1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *arg1 = (npstat::TruncatedDistribution1D *) 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, "TruncatedDistribution1D_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TruncatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TruncatedDistribution1D_density" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TruncatedDistribution1D_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::TruncatedDistribution1D 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_TruncatedDistribution1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *arg1 = (npstat::TruncatedDistribution1D *) 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, "TruncatedDistribution1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TruncatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TruncatedDistribution1D_cdf" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TruncatedDistribution1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::TruncatedDistribution1D 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_TruncatedDistribution1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *arg1 = (npstat::TruncatedDistribution1D *) 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, "TruncatedDistribution1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TruncatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TruncatedDistribution1D_exceedance" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TruncatedDistribution1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::TruncatedDistribution1D 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_TruncatedDistribution1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *arg1 = (npstat::TruncatedDistribution1D *) 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, "TruncatedDistribution1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TruncatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TruncatedDistribution1D_quantile" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TruncatedDistribution1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::TruncatedDistribution1D 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_TruncatedDistribution1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *arg1 = (npstat::TruncatedDistribution1D *) 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__TruncatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TruncatedDistribution1D_classId" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(argp1);
{
try {
result = ((npstat::TruncatedDistribution1D 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_TruncatedDistribution1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *arg1 = (npstat::TruncatedDistribution1D *) 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, "TruncatedDistribution1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TruncatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TruncatedDistribution1D_write" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(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 '" "TruncatedDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TruncatedDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::TruncatedDistribution1D 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_TruncatedDistribution1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "TruncatedDistribution1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::TruncatedDistribution1D::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_TruncatedDistribution1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "TruncatedDistribution1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::TruncatedDistribution1D::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_TruncatedDistribution1D_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::TruncatedDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "TruncatedDistribution1D_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 '" "TruncatedDistribution1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TruncatedDistribution1D_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 '" "TruncatedDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TruncatedDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::TruncatedDistribution1D *)npstat::TruncatedDistribution1D::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__TruncatedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *TruncatedDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__TruncatedDistribution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *TruncatedDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_TruncatedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *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::TruncatedDistribution1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_TruncatedDistribution1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__TruncatedDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_TruncatedDistribution1D" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_TruncatedDistribution1D" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::TruncatedDistribution1D > *)new gs::ArchiveRecord< npstat::TruncatedDistribution1D >((npstat::TruncatedDistribution1D 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__TruncatedDistribution1D_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_TruncatedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::TruncatedDistribution1D > *arg1 = (gs::ArchiveRecord< npstat::TruncatedDistribution1D > *) 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__TruncatedDistribution1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_TruncatedDistribution1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::TruncatedDistribution1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::TruncatedDistribution1D > * >(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_TruncatedDistribution1D_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__TruncatedDistribution1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_TruncatedDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_143(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::TruncatedDistribution1D *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::TruncatedDistribution1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__TruncatedDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::TruncatedDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::TruncatedDistribution1D * >(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::TruncatedDistribution1D >((npstat::TruncatedDistribution1D 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::TruncatedDistribution1D >(static_cast< const gs::ArchiveRecord< npstat::TruncatedDistribution1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__TruncatedDistribution1D_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_TruncatedDistribution1D__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::TruncatedDistribution1D > *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_TruncatedDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::TruncatedDistribution1D > *)new gs::Reference< npstat::TruncatedDistribution1D >(*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__TruncatedDistribution1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_TruncatedDistribution1D__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::TruncatedDistribution1D > *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_TruncatedDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::TruncatedDistribution1D > *)new gs::Reference< npstat::TruncatedDistribution1D >(*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__TruncatedDistribution1D_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_TruncatedDistribution1D__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::TruncatedDistribution1D > *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_TruncatedDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_TruncatedDistribution1D" "', 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_TruncatedDistribution1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_TruncatedDistribution1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::TruncatedDistribution1D > *)new gs::Reference< npstat::TruncatedDistribution1D >(*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__TruncatedDistribution1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_TruncatedDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_TruncatedDistribution1D", 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_TruncatedDistribution1D__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_TruncatedDistribution1D__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_TruncatedDistribution1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_TruncatedDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::TruncatedDistribution1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::TruncatedDistribution1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::TruncatedDistribution1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_TruncatedDistribution1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::TruncatedDistribution1D > *arg1 = (gs::Reference< npstat::TruncatedDistribution1D > *) 0 ;
unsigned long arg2 ;
npstat::TruncatedDistribution1D *arg3 = (npstat::TruncatedDistribution1D *) 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_TruncatedDistribution1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__TruncatedDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_TruncatedDistribution1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::TruncatedDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::TruncatedDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_TruncatedDistribution1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__TruncatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_TruncatedDistribution1D_restore" "', argument " "3"" of type '" "npstat::TruncatedDistribution1D *""'");
}
arg3 = reinterpret_cast< npstat::TruncatedDistribution1D * >(argp3);
{
try {
((gs::Reference< npstat::TruncatedDistribution1D > 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_TruncatedDistribution1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::TruncatedDistribution1D > *arg1 = (gs::Reference< npstat::TruncatedDistribution1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::TruncatedDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_TruncatedDistribution1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__TruncatedDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_TruncatedDistribution1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::TruncatedDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::TruncatedDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_TruncatedDistribution1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::TruncatedDistribution1D *)gs_Reference_Sl_npstat_TruncatedDistribution1D_Sg__retrieve((gs::Reference< npstat::TruncatedDistribution1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__TruncatedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_TruncatedDistribution1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::TruncatedDistribution1D > *arg1 = (gs::Reference< npstat::TruncatedDistribution1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::TruncatedDistribution1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_TruncatedDistribution1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__TruncatedDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_TruncatedDistribution1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::TruncatedDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::TruncatedDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_TruncatedDistribution1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_TruncatedDistribution1D_Sg__getValue((gs::Reference< npstat::TruncatedDistribution1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::TruncatedDistribution1D(static_cast< const npstat::TruncatedDistribution1D& >(result))), SWIGTYPE_p_npstat__TruncatedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_TruncatedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::TruncatedDistribution1D > *arg1 = (gs::Reference< npstat::TruncatedDistribution1D > *) 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__TruncatedDistribution1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_TruncatedDistribution1D" "', argument " "1"" of type '" "gs::Reference< npstat::TruncatedDistribution1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::TruncatedDistribution1D > * >(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_TruncatedDistribution1D_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__TruncatedDistribution1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_TruncatedDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_WeightedStatAccumulatorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_WeightedStatAccumulatorPair", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::WeightedStatAccumulatorPair *)new npstat::WeightedStatAccumulatorPair();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_WeightedStatAccumulatorPair_first(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::WeightedStatAccumulator *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_first" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
{
try {
result = (npstat::WeightedStatAccumulator *) &((npstat::WeightedStatAccumulatorPair const *)arg1)->first();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__WeightedStatAccumulator, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_WeightedStatAccumulatorPair_second(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::WeightedStatAccumulator *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_second" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
{
try {
result = (npstat::WeightedStatAccumulator *) &((npstat::WeightedStatAccumulatorPair const *)arg1)->second();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__WeightedStatAccumulator, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_WeightedStatAccumulatorPair_crossSumsq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
long double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_crossSumsq" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
{
try {
result = (long double)((npstat::WeightedStatAccumulatorPair const *)arg1)->crossSumsq();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new long double(static_cast< const long double& >(result))), SWIGTYPE_p_long_double, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_WeightedStatAccumulatorPair_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 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__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_count" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
{
try {
result = (double)((npstat::WeightedStatAccumulatorPair const *)arg1)->count();
} 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_WeightedStatAccumulatorPair_ncalls(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 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__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_ncalls" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
{
try {
result = (unsigned long)((npstat::WeightedStatAccumulatorPair const *)arg1)->ncalls();
} 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_WeightedStatAccumulatorPair_nfills(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 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__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_nfills" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
{
try {
result = (unsigned long)((npstat::WeightedStatAccumulatorPair const *)arg1)->nfills();
} 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_WeightedStatAccumulatorPair_cov(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 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__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_cov" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
{
try {
result = (double)((npstat::WeightedStatAccumulatorPair const *)arg1)->cov();
} 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_WeightedStatAccumulatorPair_corr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 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__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_corr" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
{
try {
result = (double)((npstat::WeightedStatAccumulatorPair const *)arg1)->corr();
} 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_WeightedStatAccumulatorPair_accumulate__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 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 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "WeightedStatAccumulatorPair_accumulate" "', 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 '" "WeightedStatAccumulatorPair_accumulate" "', 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 '" "WeightedStatAccumulatorPair_accumulate" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
(arg1)->accumulate(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_WeightedStatAccumulatorPair_accumulate__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
std::pair< double,double > *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
double val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
{
std::pair< double,double > *ptr = (std::pair< double,double > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "2"" of type '" "std::pair< double,double > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "2"" of type '" "std::pair< double,double > const &""'");
}
arg2 = ptr;
}
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->accumulate((std::pair< double,double > const &)*arg2,arg3);
} 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_WeightedStatAccumulatorPair_accumulate__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
npstat::WeightedStatAccumulatorPair *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__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "2"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "2"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
arg2 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp2);
{
try {
(arg1)->accumulate((npstat::WeightedStatAccumulatorPair 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_WeightedStatAccumulatorPair_accumulate__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
npstat::WeightedStatAccumulatorPair *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "2"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "2"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
arg2 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "WeightedStatAccumulatorPair_accumulate" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->accumulate((npstat::WeightedStatAccumulatorPair 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_WeightedStatAccumulatorPair_accumulate(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "WeightedStatAccumulatorPair_accumulate", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_WeightedStatAccumulatorPair_accumulate__SWIG_2(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 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) {
return _wrap_WeightedStatAccumulatorPair_accumulate__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::pair< double,double >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_WeightedStatAccumulatorPair_accumulate__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 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_WeightedStatAccumulatorPair_accumulate__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'WeightedStatAccumulatorPair_accumulate'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::WeightedStatAccumulatorPair::accumulate(double,double,double)\n"
" npstat::WeightedStatAccumulatorPair::accumulate(std::pair< double,double > const &,double)\n"
" npstat::WeightedStatAccumulatorPair::accumulate(npstat::WeightedStatAccumulatorPair const &)\n"
" npstat::WeightedStatAccumulatorPair::accumulate(npstat::WeightedStatAccumulatorPair const &,double)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_WeightedStatAccumulatorPair_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 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__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_reset" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(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_WeightedStatAccumulatorPair___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
npstat::WeightedStatAccumulatorPair *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::WeightedStatAccumulatorPair *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "WeightedStatAccumulatorPair___iadd__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair___iadd__" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "WeightedStatAccumulatorPair___iadd__" "', argument " "2"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "WeightedStatAccumulatorPair___iadd__" "', argument " "2"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
arg2 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp2);
{
try {
result = (npstat::WeightedStatAccumulatorPair *) &(arg1)->operator +=((npstat::WeightedStatAccumulatorPair const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_WeightedStatAccumulatorPair_scaleWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::WeightedStatAccumulatorPair *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "WeightedStatAccumulatorPair_scaleWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_scaleWeights" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "WeightedStatAccumulatorPair_scaleWeights" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (npstat::WeightedStatAccumulatorPair *) &(arg1)->scaleWeights(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_WeightedStatAccumulatorPair___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
npstat::WeightedStatAccumulatorPair *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, "WeightedStatAccumulatorPair___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair___eq__" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "WeightedStatAccumulatorPair___eq__" "', argument " "2"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "WeightedStatAccumulatorPair___eq__" "', argument " "2"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
arg2 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp2);
{
try {
result = (bool)((npstat::WeightedStatAccumulatorPair const *)arg1)->operator ==((npstat::WeightedStatAccumulatorPair 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_WeightedStatAccumulatorPair___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
npstat::WeightedStatAccumulatorPair *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, "WeightedStatAccumulatorPair___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair___ne__" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "WeightedStatAccumulatorPair___ne__" "', argument " "2"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "WeightedStatAccumulatorPair___ne__" "', argument " "2"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
arg2 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp2);
{
try {
result = (bool)((npstat::WeightedStatAccumulatorPair const *)arg1)->operator !=((npstat::WeightedStatAccumulatorPair 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_WeightedStatAccumulatorPair_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 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__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_classId" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
{
try {
result = ((npstat::WeightedStatAccumulatorPair 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_WeightedStatAccumulatorPair_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 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, "WeightedStatAccumulatorPair_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair_write" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(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 '" "WeightedStatAccumulatorPair_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "WeightedStatAccumulatorPair_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::WeightedStatAccumulatorPair 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_WeightedStatAccumulatorPair_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "WeightedStatAccumulatorPair_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::WeightedStatAccumulatorPair::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_WeightedStatAccumulatorPair_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "WeightedStatAccumulatorPair_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::WeightedStatAccumulatorPair::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_WeightedStatAccumulatorPair_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
npstat::WeightedStatAccumulatorPair *arg3 = (npstat::WeightedStatAccumulatorPair *) 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, "WeightedStatAccumulatorPair_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 '" "WeightedStatAccumulatorPair_restore" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "WeightedStatAccumulatorPair_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 '" "WeightedStatAccumulatorPair_restore" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "WeightedStatAccumulatorPair_restore" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "WeightedStatAccumulatorPair_restore" "', argument " "3"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg3 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp3);
{
try {
npstat::WeightedStatAccumulatorPair::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_WeightedStatAccumulatorPair___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::WeightedStatAccumulatorPair result;
if (!SWIG_Python_UnpackTuple(args, "WeightedStatAccumulatorPair___mul__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair___mul__" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "WeightedStatAccumulatorPair___mul__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::WeightedStatAccumulatorPair const *)arg1)->mul2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::WeightedStatAccumulatorPair(static_cast< const npstat::WeightedStatAccumulatorPair& >(result))), SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_WeightedStatAccumulatorPair___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::WeightedStatAccumulatorPair result;
if (!SWIG_Python_UnpackTuple(args, "WeightedStatAccumulatorPair___div__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair___div__" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "WeightedStatAccumulatorPair___div__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::WeightedStatAccumulatorPair const *)arg1)->div2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::WeightedStatAccumulatorPair(static_cast< const npstat::WeightedStatAccumulatorPair& >(result))), SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_WeightedStatAccumulatorPair___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::WeightedStatAccumulatorPair *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "WeightedStatAccumulatorPair___imul__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair___imul__" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "WeightedStatAccumulatorPair___imul__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (npstat::WeightedStatAccumulatorPair *) &(arg1)->imul2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_WeightedStatAccumulatorPair___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::WeightedStatAccumulatorPair *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "WeightedStatAccumulatorPair___idiv__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "WeightedStatAccumulatorPair___idiv__" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "WeightedStatAccumulatorPair___idiv__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (npstat::WeightedStatAccumulatorPair *) &(arg1)->idiv2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_WeightedStatAccumulatorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *arg1 = (npstat::WeightedStatAccumulatorPair *) 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__WeightedStatAccumulatorPair, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_WeightedStatAccumulatorPair" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(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 *WeightedStatAccumulatorPair_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *WeightedStatAccumulatorPair_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_WeightedStatAccumulatorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *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::WeightedStatAccumulatorPair > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_WeightedStatAccumulatorPair", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_WeightedStatAccumulatorPair" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_WeightedStatAccumulatorPair" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_WeightedStatAccumulatorPair" "', 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_WeightedStatAccumulatorPair" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::WeightedStatAccumulatorPair > *)new gs::ArchiveRecord< npstat::WeightedStatAccumulatorPair >((npstat::WeightedStatAccumulatorPair 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__WeightedStatAccumulatorPair_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_WeightedStatAccumulatorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::WeightedStatAccumulatorPair > *arg1 = (gs::ArchiveRecord< npstat::WeightedStatAccumulatorPair > *) 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__WeightedStatAccumulatorPair_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_WeightedStatAccumulatorPair" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::WeightedStatAccumulatorPair > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::WeightedStatAccumulatorPair > * >(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_WeightedStatAccumulatorPair_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__WeightedStatAccumulatorPair_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_WeightedStatAccumulatorPair_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_144(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::WeightedStatAccumulatorPair *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::WeightedStatAccumulatorPair > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::WeightedStatAccumulatorPair const &""'");
}
arg1 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(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::WeightedStatAccumulatorPair >((npstat::WeightedStatAccumulatorPair 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::WeightedStatAccumulatorPair >(static_cast< const gs::ArchiveRecord< npstat::WeightedStatAccumulatorPair >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__WeightedStatAccumulatorPair_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_WeightedStatAccumulatorPair__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::WeightedStatAccumulatorPair > *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_WeightedStatAccumulatorPair" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_WeightedStatAccumulatorPair" "', 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_WeightedStatAccumulatorPair" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::WeightedStatAccumulatorPair > *)new gs::Reference< npstat::WeightedStatAccumulatorPair >(*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__WeightedStatAccumulatorPair_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_WeightedStatAccumulatorPair__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::WeightedStatAccumulatorPair > *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_WeightedStatAccumulatorPair" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_WeightedStatAccumulatorPair" "', 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_WeightedStatAccumulatorPair" "', 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_WeightedStatAccumulatorPair" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::WeightedStatAccumulatorPair > *)new gs::Reference< npstat::WeightedStatAccumulatorPair >(*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__WeightedStatAccumulatorPair_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_WeightedStatAccumulatorPair__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::WeightedStatAccumulatorPair > *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_WeightedStatAccumulatorPair" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_WeightedStatAccumulatorPair" "', 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_WeightedStatAccumulatorPair" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_WeightedStatAccumulatorPair" "', 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_WeightedStatAccumulatorPair" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_WeightedStatAccumulatorPair" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::WeightedStatAccumulatorPair > *)new gs::Reference< npstat::WeightedStatAccumulatorPair >(*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__WeightedStatAccumulatorPair_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_WeightedStatAccumulatorPair(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_WeightedStatAccumulatorPair", 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_WeightedStatAccumulatorPair__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_WeightedStatAccumulatorPair__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_WeightedStatAccumulatorPair__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_WeightedStatAccumulatorPair'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::WeightedStatAccumulatorPair >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::WeightedStatAccumulatorPair >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::WeightedStatAccumulatorPair >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_WeightedStatAccumulatorPair_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::WeightedStatAccumulatorPair > *arg1 = (gs::Reference< npstat::WeightedStatAccumulatorPair > *) 0 ;
unsigned long arg2 ;
npstat::WeightedStatAccumulatorPair *arg3 = (npstat::WeightedStatAccumulatorPair *) 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_WeightedStatAccumulatorPair_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__WeightedStatAccumulatorPair_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_WeightedStatAccumulatorPair_restore" "', argument " "1"" of type '" "gs::Reference< npstat::WeightedStatAccumulatorPair > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::WeightedStatAccumulatorPair > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_WeightedStatAccumulatorPair_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_WeightedStatAccumulatorPair_restore" "', argument " "3"" of type '" "npstat::WeightedStatAccumulatorPair *""'");
}
arg3 = reinterpret_cast< npstat::WeightedStatAccumulatorPair * >(argp3);
{
try {
((gs::Reference< npstat::WeightedStatAccumulatorPair > 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_WeightedStatAccumulatorPair_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::WeightedStatAccumulatorPair > *arg1 = (gs::Reference< npstat::WeightedStatAccumulatorPair > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::WeightedStatAccumulatorPair *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_WeightedStatAccumulatorPair_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__WeightedStatAccumulatorPair_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_WeightedStatAccumulatorPair_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::WeightedStatAccumulatorPair > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::WeightedStatAccumulatorPair > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_WeightedStatAccumulatorPair_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::WeightedStatAccumulatorPair *)gs_Reference_Sl_npstat_WeightedStatAccumulatorPair_Sg__retrieve((gs::Reference< npstat::WeightedStatAccumulatorPair > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_WeightedStatAccumulatorPair_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::WeightedStatAccumulatorPair > *arg1 = (gs::Reference< npstat::WeightedStatAccumulatorPair > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::WeightedStatAccumulatorPair result;
if (!SWIG_Python_UnpackTuple(args, "Ref_WeightedStatAccumulatorPair_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__WeightedStatAccumulatorPair_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_WeightedStatAccumulatorPair_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::WeightedStatAccumulatorPair > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::WeightedStatAccumulatorPair > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_WeightedStatAccumulatorPair_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_WeightedStatAccumulatorPair_Sg__getValue((gs::Reference< npstat::WeightedStatAccumulatorPair > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::WeightedStatAccumulatorPair(static_cast< const npstat::WeightedStatAccumulatorPair& >(result))), SWIGTYPE_p_npstat__WeightedStatAccumulatorPair, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_WeightedStatAccumulatorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::WeightedStatAccumulatorPair > *arg1 = (gs::Reference< npstat::WeightedStatAccumulatorPair > *) 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__WeightedStatAccumulatorPair_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_WeightedStatAccumulatorPair" "', argument " "1"" of type '" "gs::Reference< npstat::WeightedStatAccumulatorPair > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::WeightedStatAccumulatorPair > * >(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_WeightedStatAccumulatorPair_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__WeightedStatAccumulatorPair_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_WeightedStatAccumulatorPair_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LogRatioTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogRatioTransform1D *arg1 = (npstat::LogRatioTransform1D *) 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__LogRatioTransform1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LogRatioTransform1D" "', argument " "1"" of type '" "npstat::LogRatioTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::LogRatioTransform1D * >(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_LogRatioTransform1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogRatioTransform1D *arg1 = (npstat::LogRatioTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LogRatioTransform1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LogRatioTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogRatioTransform1D_clone" "', argument " "1"" of type '" "npstat::LogRatioTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LogRatioTransform1D * >(argp1);
{
try {
result = (npstat::LogRatioTransform1D *)((npstat::LogRatioTransform1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LogRatioTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LogRatioTransform1D_transformBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogRatioTransform1D *arg1 = (npstat::LogRatioTransform1D *) 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, "LogRatioTransform1D_transformBack", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LogRatioTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogRatioTransform1D_transformBack" "', argument " "1"" of type '" "npstat::LogRatioTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LogRatioTransform1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LogRatioTransform1D_transformBack" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LogRatioTransform1D 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_LogRatioTransform1D_isIncreasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogRatioTransform1D *arg1 = (npstat::LogRatioTransform1D *) 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__LogRatioTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogRatioTransform1D_isIncreasing" "', argument " "1"" of type '" "npstat::LogRatioTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LogRatioTransform1D * >(argp1);
{
try {
result = (bool)((npstat::LogRatioTransform1D 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_LogRatioTransform1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogRatioTransform1D *arg1 = (npstat::LogRatioTransform1D *) 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__LogRatioTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogRatioTransform1D_classId" "', argument " "1"" of type '" "npstat::LogRatioTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LogRatioTransform1D * >(argp1);
{
try {
result = ((npstat::LogRatioTransform1D 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_LogRatioTransform1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogRatioTransform1D *arg1 = (npstat::LogRatioTransform1D *) 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, "LogRatioTransform1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LogRatioTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogRatioTransform1D_write" "', argument " "1"" of type '" "npstat::LogRatioTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LogRatioTransform1D * >(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 '" "LogRatioTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LogRatioTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::LogRatioTransform1D 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_LogRatioTransform1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LogRatioTransform1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::LogRatioTransform1D::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_LogRatioTransform1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "LogRatioTransform1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::LogRatioTransform1D::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_LogRatioTransform1D_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::LogRatioTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LogRatioTransform1D_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 '" "LogRatioTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LogRatioTransform1D_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 '" "LogRatioTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LogRatioTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::LogRatioTransform1D *)npstat::LogRatioTransform1D::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__LogRatioTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LogRatioTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LogRatioTransform1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_LogRatioTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogRatioTransform1D *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::LogRatioTransform1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_LogRatioTransform1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LogRatioTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_LogRatioTransform1D" "', argument " "1"" of type '" "npstat::LogRatioTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_LogRatioTransform1D" "', argument " "1"" of type '" "npstat::LogRatioTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::LogRatioTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_LogRatioTransform1D" "', 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_LogRatioTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::LogRatioTransform1D > *)new gs::ArchiveRecord< npstat::LogRatioTransform1D >((npstat::LogRatioTransform1D 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__LogRatioTransform1D_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_LogRatioTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::LogRatioTransform1D > *arg1 = (gs::ArchiveRecord< npstat::LogRatioTransform1D > *) 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__LogRatioTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_LogRatioTransform1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::LogRatioTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::LogRatioTransform1D > * >(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_LogRatioTransform1D_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__LogRatioTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_LogRatioTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_145(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LogRatioTransform1D *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::LogRatioTransform1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LogRatioTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LogRatioTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LogRatioTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::LogRatioTransform1D * >(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::LogRatioTransform1D >((npstat::LogRatioTransform1D 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::LogRatioTransform1D >(static_cast< const gs::ArchiveRecord< npstat::LogRatioTransform1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__LogRatioTransform1D_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_LogRatioTransform1D__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::LogRatioTransform1D > *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_LogRatioTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LogRatioTransform1D" "', 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_LogRatioTransform1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::LogRatioTransform1D > *)new gs::Reference< npstat::LogRatioTransform1D >(*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__LogRatioTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LogRatioTransform1D__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::LogRatioTransform1D > *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_LogRatioTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LogRatioTransform1D" "', 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_LogRatioTransform1D" "', 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_LogRatioTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::LogRatioTransform1D > *)new gs::Reference< npstat::LogRatioTransform1D >(*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__LogRatioTransform1D_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_LogRatioTransform1D__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::LogRatioTransform1D > *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_LogRatioTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LogRatioTransform1D" "', 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_LogRatioTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LogRatioTransform1D" "', 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_LogRatioTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LogRatioTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::LogRatioTransform1D > *)new gs::Reference< npstat::LogRatioTransform1D >(*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__LogRatioTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LogRatioTransform1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_LogRatioTransform1D", 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_LogRatioTransform1D__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_LogRatioTransform1D__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_LogRatioTransform1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_LogRatioTransform1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::LogRatioTransform1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::LogRatioTransform1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::LogRatioTransform1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_LogRatioTransform1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LogRatioTransform1D > *arg1 = (gs::Reference< npstat::LogRatioTransform1D > *) 0 ;
unsigned long arg2 ;
npstat::LogRatioTransform1D *arg3 = (npstat::LogRatioTransform1D *) 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_LogRatioTransform1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LogRatioTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LogRatioTransform1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::LogRatioTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LogRatioTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LogRatioTransform1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__LogRatioTransform1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_LogRatioTransform1D_restore" "', argument " "3"" of type '" "npstat::LogRatioTransform1D *""'");
}
arg3 = reinterpret_cast< npstat::LogRatioTransform1D * >(argp3);
{
try {
((gs::Reference< npstat::LogRatioTransform1D > 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_LogRatioTransform1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LogRatioTransform1D > *arg1 = (gs::Reference< npstat::LogRatioTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::LogRatioTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LogRatioTransform1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LogRatioTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LogRatioTransform1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::LogRatioTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LogRatioTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LogRatioTransform1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::LogRatioTransform1D *)gs_Reference_Sl_npstat_LogRatioTransform1D_Sg__retrieve((gs::Reference< npstat::LogRatioTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LogRatioTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LogRatioTransform1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LogRatioTransform1D > *arg1 = (gs::Reference< npstat::LogRatioTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::LogRatioTransform1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_LogRatioTransform1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LogRatioTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LogRatioTransform1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::LogRatioTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LogRatioTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LogRatioTransform1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_LogRatioTransform1D_Sg__getValue((gs::Reference< npstat::LogRatioTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LogRatioTransform1D(static_cast< const npstat::LogRatioTransform1D& >(result))), SWIGTYPE_p_npstat__LogRatioTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_LogRatioTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LogRatioTransform1D > *arg1 = (gs::Reference< npstat::LogRatioTransform1D > *) 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__LogRatioTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_LogRatioTransform1D" "', argument " "1"" of type '" "gs::Reference< npstat::LogRatioTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LogRatioTransform1D > * >(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_LogRatioTransform1D_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__LogRatioTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_LogRatioTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ExpTiltedDistribution1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
npstat::ExpTiltedDistribution1D *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "new_ExpTiltedDistribution1D" "', argument " "1"" of type '" "npstat::AbsCGF1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ExpTiltedDistribution1D" "', argument " "1"" of type '" "npstat::AbsCGF1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(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_ExpTiltedDistribution1D" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ExpTiltedDistribution1D" "', 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 '" "new_ExpTiltedDistribution1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::ExpTiltedDistribution1D *)new npstat::ExpTiltedDistribution1D((npstat::AbsCGF1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ExpTiltedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ExpTiltedDistribution1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ExpTiltedDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ExpTiltedDistribution1D" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ExpTiltedDistribution1D" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = (npstat::ExpTiltedDistribution1D *)new npstat::ExpTiltedDistribution1D((npstat::ExpTiltedDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ExpTiltedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ExpTiltedDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ExpTiltedDistribution1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ExpTiltedDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ExpTiltedDistribution1D__SWIG_1(self, argc, argv);
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsCGF1D, 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_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ExpTiltedDistribution1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ExpTiltedDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ExpTiltedDistribution1D::ExpTiltedDistribution1D(npstat::AbsCGF1D const &,npstat::AbsDistribution1D const &,double)\n"
" npstat::ExpTiltedDistribution1D::ExpTiltedDistribution1D(npstat::ExpTiltedDistribution1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ExpTiltedDistribution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ExpTiltedDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_clone" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = (npstat::ExpTiltedDistribution1D *)((npstat::ExpTiltedDistribution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ExpTiltedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ExpTiltedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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__ExpTiltedDistribution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ExpTiltedDistribution1D" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(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_ExpTiltedDistribution1D_setTilt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "ExpTiltedDistribution1D_setTilt", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_setTilt" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ExpTiltedDistribution1D_setTilt" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setTilt(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ExpTiltedDistribution1D_tilt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_tilt" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = (double)((npstat::ExpTiltedDistribution1D const *)arg1)->tilt();
} 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_ExpTiltedDistribution1D_Ks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_Ks" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = (double)((npstat::ExpTiltedDistribution1D const *)arg1)->Ks();
} 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_ExpTiltedDistribution1D_getCGF__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::AbsCGF1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_getCGF" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = (npstat::AbsCGF1D *) &(arg1)->getCGF();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ExpTiltedDistribution1D_getCGF__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::AbsCGF1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_getCGF" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = (npstat::AbsCGF1D *) &((npstat::ExpTiltedDistribution1D const *)arg1)->getCGF();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ExpTiltedDistribution1D_getCGF(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ExpTiltedDistribution1D_getCGF", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ExpTiltedDistribution1D_getCGF__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ExpTiltedDistribution1D_getCGF__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ExpTiltedDistribution1D_getCGF'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ExpTiltedDistribution1D::getCGF()\n"
" npstat::ExpTiltedDistribution1D::getCGF() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ExpTiltedDistribution1D_getUnderlyingDistro__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::AbsDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_getUnderlyingDistro" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &(arg1)->getUnderlyingDistro();
} 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_ExpTiltedDistribution1D_getUnderlyingDistro__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::AbsDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_getUnderlyingDistro" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &((npstat::ExpTiltedDistribution1D const *)arg1)->getUnderlyingDistro();
} 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_ExpTiltedDistribution1D_getUnderlyingDistro(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ExpTiltedDistribution1D_getUnderlyingDistro", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ExpTiltedDistribution1D_getUnderlyingDistro__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ExpTiltedDistribution1D_getUnderlyingDistro__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ExpTiltedDistribution1D_getUnderlyingDistro'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ExpTiltedDistribution1D::getUnderlyingDistro()\n"
" npstat::ExpTiltedDistribution1D::getUnderlyingDistro() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ExpTiltedDistribution1D_mean(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_mean" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = (double)((npstat::ExpTiltedDistribution1D 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_ExpTiltedDistribution1D_variance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_variance" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = (double)((npstat::ExpTiltedDistribution1D const *)arg1)->variance();
} 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_ExpTiltedDistribution1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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, "ExpTiltedDistribution1D_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_density" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ExpTiltedDistribution1D_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::ExpTiltedDistribution1D 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_ExpTiltedDistribution1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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, "ExpTiltedDistribution1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_cdf" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ExpTiltedDistribution1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::ExpTiltedDistribution1D 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_ExpTiltedDistribution1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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, "ExpTiltedDistribution1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_exceedance" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ExpTiltedDistribution1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::ExpTiltedDistribution1D 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_ExpTiltedDistribution1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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, "ExpTiltedDistribution1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_quantile" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ExpTiltedDistribution1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::ExpTiltedDistribution1D 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_ExpTiltedDistribution1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_classId" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(argp1);
{
try {
result = ((npstat::ExpTiltedDistribution1D 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_ExpTiltedDistribution1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ExpTiltedDistribution1D *arg1 = (npstat::ExpTiltedDistribution1D *) 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, "ExpTiltedDistribution1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ExpTiltedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ExpTiltedDistribution1D_write" "', argument " "1"" of type '" "npstat::ExpTiltedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::ExpTiltedDistribution1D * >(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 '" "ExpTiltedDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExpTiltedDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::ExpTiltedDistribution1D 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_ExpTiltedDistribution1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ExpTiltedDistribution1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ExpTiltedDistribution1D::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_ExpTiltedDistribution1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ExpTiltedDistribution1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ExpTiltedDistribution1D::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_ExpTiltedDistribution1D_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::ExpTiltedDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ExpTiltedDistribution1D_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 '" "ExpTiltedDistribution1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExpTiltedDistribution1D_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 '" "ExpTiltedDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ExpTiltedDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::ExpTiltedDistribution1D *)npstat::ExpTiltedDistribution1D::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__ExpTiltedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ExpTiltedDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ExpTiltedDistribution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ExpTiltedDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_RightCensoredDistribution__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::RightCensoredDistribution *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_RightCensoredDistribution" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RightCensoredDistribution" "', 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_RightCensoredDistribution" "', 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_RightCensoredDistribution" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::RightCensoredDistribution *)new npstat::RightCensoredDistribution((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__RightCensoredDistribution, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_RightCensoredDistribution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::RightCensoredDistribution *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__RightCensoredDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RightCensoredDistribution" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RightCensoredDistribution" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
{
try {
result = (npstat::RightCensoredDistribution *)new npstat::RightCensoredDistribution((npstat::RightCensoredDistribution const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__RightCensoredDistribution, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_RightCensoredDistribution(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_RightCensoredDistribution", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__RightCensoredDistribution, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_RightCensoredDistribution__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_RightCensoredDistribution__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_RightCensoredDistribution'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::RightCensoredDistribution::RightCensoredDistribution(npstat::AbsDistribution1D const &,double,double)\n"
" npstat::RightCensoredDistribution::RightCensoredDistribution(npstat::RightCensoredDistribution const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_RightCensoredDistribution_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::RightCensoredDistribution *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RightCensoredDistribution_clone" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
{
try {
result = (npstat::RightCensoredDistribution *)((npstat::RightCensoredDistribution const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__RightCensoredDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_RightCensoredDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 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__RightCensoredDistribution, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RightCensoredDistribution" "', argument " "1"" of type '" "npstat::RightCensoredDistribution *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(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_RightCensoredDistribution_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 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__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RightCensoredDistribution_visible" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &((npstat::RightCensoredDistribution 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_RightCensoredDistribution_visibleFraction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 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__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RightCensoredDistribution_visibleFraction" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
{
try {
result = (double)((npstat::RightCensoredDistribution 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_RightCensoredDistribution_effectiveInfinity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 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__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RightCensoredDistribution_effectiveInfinity" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
{
try {
result = (double)((npstat::RightCensoredDistribution 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_RightCensoredDistribution_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 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, "RightCensoredDistribution_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RightCensoredDistribution_density" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RightCensoredDistribution_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::RightCensoredDistribution 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_RightCensoredDistribution_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 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, "RightCensoredDistribution_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RightCensoredDistribution_cdf" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RightCensoredDistribution_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::RightCensoredDistribution 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_RightCensoredDistribution_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 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, "RightCensoredDistribution_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RightCensoredDistribution_exceedance" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RightCensoredDistribution_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::RightCensoredDistribution 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_RightCensoredDistribution_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 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, "RightCensoredDistribution_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RightCensoredDistribution_quantile" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RightCensoredDistribution_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::RightCensoredDistribution 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_RightCensoredDistribution_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 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__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RightCensoredDistribution_classId" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
{
try {
result = ((npstat::RightCensoredDistribution 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_RightCensoredDistribution_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *arg1 = (npstat::RightCensoredDistribution *) 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, "RightCensoredDistribution_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RightCensoredDistribution_write" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(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 '" "RightCensoredDistribution_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RightCensoredDistribution_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::RightCensoredDistribution 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_RightCensoredDistribution_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "RightCensoredDistribution_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::RightCensoredDistribution::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_RightCensoredDistribution_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "RightCensoredDistribution_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::RightCensoredDistribution::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_RightCensoredDistribution_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::RightCensoredDistribution *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "RightCensoredDistribution_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 '" "RightCensoredDistribution_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RightCensoredDistribution_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 '" "RightCensoredDistribution_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RightCensoredDistribution_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::RightCensoredDistribution *)npstat::RightCensoredDistribution::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__RightCensoredDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *RightCensoredDistribution_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__RightCensoredDistribution, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *RightCensoredDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_RightCensoredDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *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::RightCensoredDistribution > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_RightCensoredDistribution", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__RightCensoredDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_RightCensoredDistribution" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_RightCensoredDistribution" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_RightCensoredDistribution" "', 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_RightCensoredDistribution" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::RightCensoredDistribution > *)new gs::ArchiveRecord< npstat::RightCensoredDistribution >((npstat::RightCensoredDistribution 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__RightCensoredDistribution_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_RightCensoredDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::RightCensoredDistribution > *arg1 = (gs::ArchiveRecord< npstat::RightCensoredDistribution > *) 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__RightCensoredDistribution_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_RightCensoredDistribution" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::RightCensoredDistribution > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::RightCensoredDistribution > * >(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_RightCensoredDistribution_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__RightCensoredDistribution_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_RightCensoredDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_146(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::RightCensoredDistribution *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::RightCensoredDistribution > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__RightCensoredDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::RightCensoredDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::RightCensoredDistribution * >(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::RightCensoredDistribution >((npstat::RightCensoredDistribution 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::RightCensoredDistribution >(static_cast< const gs::ArchiveRecord< npstat::RightCensoredDistribution >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__RightCensoredDistribution_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_RightCensoredDistribution__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::RightCensoredDistribution > *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_RightCensoredDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_RightCensoredDistribution" "', 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_RightCensoredDistribution" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::RightCensoredDistribution > *)new gs::Reference< npstat::RightCensoredDistribution >(*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__RightCensoredDistribution_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_RightCensoredDistribution__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::RightCensoredDistribution > *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_RightCensoredDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_RightCensoredDistribution" "', 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_RightCensoredDistribution" "', 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_RightCensoredDistribution" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::RightCensoredDistribution > *)new gs::Reference< npstat::RightCensoredDistribution >(*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__RightCensoredDistribution_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_RightCensoredDistribution__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::RightCensoredDistribution > *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_RightCensoredDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_RightCensoredDistribution" "', 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_RightCensoredDistribution" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_RightCensoredDistribution" "', 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_RightCensoredDistribution" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_RightCensoredDistribution" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::RightCensoredDistribution > *)new gs::Reference< npstat::RightCensoredDistribution >(*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__RightCensoredDistribution_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_RightCensoredDistribution(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_RightCensoredDistribution", 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_RightCensoredDistribution__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_RightCensoredDistribution__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_RightCensoredDistribution__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_RightCensoredDistribution'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::RightCensoredDistribution >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::RightCensoredDistribution >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::RightCensoredDistribution >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_RightCensoredDistribution_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::RightCensoredDistribution > *arg1 = (gs::Reference< npstat::RightCensoredDistribution > *) 0 ;
unsigned long arg2 ;
npstat::RightCensoredDistribution *arg3 = (npstat::RightCensoredDistribution *) 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_RightCensoredDistribution_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__RightCensoredDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_RightCensoredDistribution_restore" "', argument " "1"" of type '" "gs::Reference< npstat::RightCensoredDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::RightCensoredDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_RightCensoredDistribution_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__RightCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_RightCensoredDistribution_restore" "', argument " "3"" of type '" "npstat::RightCensoredDistribution *""'");
}
arg3 = reinterpret_cast< npstat::RightCensoredDistribution * >(argp3);
{
try {
((gs::Reference< npstat::RightCensoredDistribution > 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_RightCensoredDistribution_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::RightCensoredDistribution > *arg1 = (gs::Reference< npstat::RightCensoredDistribution > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::RightCensoredDistribution *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_RightCensoredDistribution_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__RightCensoredDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_RightCensoredDistribution_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::RightCensoredDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::RightCensoredDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_RightCensoredDistribution_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::RightCensoredDistribution *)gs_Reference_Sl_npstat_RightCensoredDistribution_Sg__retrieve((gs::Reference< npstat::RightCensoredDistribution > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__RightCensoredDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_RightCensoredDistribution_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::RightCensoredDistribution > *arg1 = (gs::Reference< npstat::RightCensoredDistribution > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::RightCensoredDistribution > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_RightCensoredDistribution_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__RightCensoredDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_RightCensoredDistribution_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::RightCensoredDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::RightCensoredDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_RightCensoredDistribution_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_RightCensoredDistribution_Sg__getValue((gs::Reference< npstat::RightCensoredDistribution > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::RightCensoredDistribution(static_cast< const npstat::RightCensoredDistribution& >(result))), SWIGTYPE_p_npstat__RightCensoredDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_RightCensoredDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::RightCensoredDistribution > *arg1 = (gs::Reference< npstat::RightCensoredDistribution > *) 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__RightCensoredDistribution_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_RightCensoredDistribution" "', argument " "1"" of type '" "gs::Reference< npstat::RightCensoredDistribution > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::RightCensoredDistribution > * >(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_RightCensoredDistribution_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__RightCensoredDistribution_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_RightCensoredDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto2D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,2U > >,std::allocator< npstat::OrderedPointND< std::array< double,2U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_2U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_2U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto2D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,2U > >,std::allocator< npstat::OrderedPointND< std::array< double,2U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto2D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,2U > >,std::allocator< npstat::OrderedPointND< std::array< double,2U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,2U > >,std::allocator< npstat::OrderedPointND< std::array< double,2U > > > > * >(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 '" "empiricalCopulaHisto2D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalCopulaHisto2D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,2U >,npstat::HistoND< double,npstat::HistoAxis > >(*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_empiricalCopulaHisto2D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,2U > >,std::allocator< npstat::OrderedPointND< std::array< double,2U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 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_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_2U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_2U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto2D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,2U > >,std::allocator< npstat::OrderedPointND< std::array< double,2U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto2D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,2U > >,std::allocator< npstat::OrderedPointND< std::array< double,2U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,2U > >,std::allocator< npstat::OrderedPointND< std::array< double,2U > > > > * >(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 '" "empiricalCopulaHisto2D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,2U >,npstat::HistoND< double,npstat::HistoAxis > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto2D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalCopulaHisto2D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_2U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_2U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_empiricalCopulaHisto2D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_2U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_2U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCopulaHisto2D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalCopulaHisto2D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalCopulaHisto< std::array< double,2U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,2U > >,std::allocator< npstat::OrderedPointND< std::array< double,2U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *,bool)\n"
" npstat::empiricalCopulaHisto< std::array< double,2U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,2U > >,std::allocator< npstat::OrderedPointND< std::array< double,2U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto3D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,3U > >,std::allocator< npstat::OrderedPointND< std::array< double,3U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_3U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_3U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto3D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,3U > >,std::allocator< npstat::OrderedPointND< std::array< double,3U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto3D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,3U > >,std::allocator< npstat::OrderedPointND< std::array< double,3U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,3U > >,std::allocator< npstat::OrderedPointND< std::array< double,3U > > > > * >(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 '" "empiricalCopulaHisto3D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalCopulaHisto3D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,3U >,npstat::HistoND< double,npstat::HistoAxis > >(*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_empiricalCopulaHisto3D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,3U > >,std::allocator< npstat::OrderedPointND< std::array< double,3U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 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_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_3U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_3U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto3D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,3U > >,std::allocator< npstat::OrderedPointND< std::array< double,3U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto3D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,3U > >,std::allocator< npstat::OrderedPointND< std::array< double,3U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,3U > >,std::allocator< npstat::OrderedPointND< std::array< double,3U > > > > * >(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 '" "empiricalCopulaHisto3D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,3U >,npstat::HistoND< double,npstat::HistoAxis > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto3D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalCopulaHisto3D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_3U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_3U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_empiricalCopulaHisto3D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_3U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_3U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCopulaHisto3D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalCopulaHisto3D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalCopulaHisto< std::array< double,3U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,3U > >,std::allocator< npstat::OrderedPointND< std::array< double,3U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *,bool)\n"
" npstat::empiricalCopulaHisto< std::array< double,3U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,3U > >,std::allocator< npstat::OrderedPointND< std::array< double,3U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto4D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,4U > >,std::allocator< npstat::OrderedPointND< std::array< double,4U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_4U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_4U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto4D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,4U > >,std::allocator< npstat::OrderedPointND< std::array< double,4U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto4D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,4U > >,std::allocator< npstat::OrderedPointND< std::array< double,4U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,4U > >,std::allocator< npstat::OrderedPointND< std::array< double,4U > > > > * >(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 '" "empiricalCopulaHisto4D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalCopulaHisto4D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,4U >,npstat::HistoND< double,npstat::HistoAxis > >(*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_empiricalCopulaHisto4D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,4U > >,std::allocator< npstat::OrderedPointND< std::array< double,4U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 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_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_4U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_4U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto4D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,4U > >,std::allocator< npstat::OrderedPointND< std::array< double,4U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto4D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,4U > >,std::allocator< npstat::OrderedPointND< std::array< double,4U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,4U > >,std::allocator< npstat::OrderedPointND< std::array< double,4U > > > > * >(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 '" "empiricalCopulaHisto4D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,4U >,npstat::HistoND< double,npstat::HistoAxis > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto4D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalCopulaHisto4D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_4U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_4U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_empiricalCopulaHisto4D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_4U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_4U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCopulaHisto4D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalCopulaHisto4D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalCopulaHisto< std::array< double,4U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,4U > >,std::allocator< npstat::OrderedPointND< std::array< double,4U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *,bool)\n"
" npstat::empiricalCopulaHisto< std::array< double,4U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,4U > >,std::allocator< npstat::OrderedPointND< std::array< double,4U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto5D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,5U > >,std::allocator< npstat::OrderedPointND< std::array< double,5U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_5U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_5U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto5D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,5U > >,std::allocator< npstat::OrderedPointND< std::array< double,5U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto5D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,5U > >,std::allocator< npstat::OrderedPointND< std::array< double,5U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,5U > >,std::allocator< npstat::OrderedPointND< std::array< double,5U > > > > * >(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 '" "empiricalCopulaHisto5D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalCopulaHisto5D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,5U >,npstat::HistoND< double,npstat::HistoAxis > >(*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_empiricalCopulaHisto5D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,5U > >,std::allocator< npstat::OrderedPointND< std::array< double,5U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 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_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_5U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_5U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto5D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,5U > >,std::allocator< npstat::OrderedPointND< std::array< double,5U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto5D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,5U > >,std::allocator< npstat::OrderedPointND< std::array< double,5U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,5U > >,std::allocator< npstat::OrderedPointND< std::array< double,5U > > > > * >(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 '" "empiricalCopulaHisto5D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,5U >,npstat::HistoND< double,npstat::HistoAxis > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto5D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalCopulaHisto5D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_5U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_5U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_empiricalCopulaHisto5D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_5U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_5U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCopulaHisto5D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalCopulaHisto5D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalCopulaHisto< std::array< double,5U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,5U > >,std::allocator< npstat::OrderedPointND< std::array< double,5U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *,bool)\n"
" npstat::empiricalCopulaHisto< std::array< double,5U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,5U > >,std::allocator< npstat::OrderedPointND< std::array< double,5U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto6D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,6U > >,std::allocator< npstat::OrderedPointND< std::array< double,6U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_6U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_6U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto6D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,6U > >,std::allocator< npstat::OrderedPointND< std::array< double,6U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto6D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,6U > >,std::allocator< npstat::OrderedPointND< std::array< double,6U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,6U > >,std::allocator< npstat::OrderedPointND< std::array< double,6U > > > > * >(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 '" "empiricalCopulaHisto6D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalCopulaHisto6D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,6U >,npstat::HistoND< double,npstat::HistoAxis > >(*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_empiricalCopulaHisto6D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,6U > >,std::allocator< npstat::OrderedPointND< std::array< double,6U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 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_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_6U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_6U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto6D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,6U > >,std::allocator< npstat::OrderedPointND< std::array< double,6U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto6D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,6U > >,std::allocator< npstat::OrderedPointND< std::array< double,6U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,6U > >,std::allocator< npstat::OrderedPointND< std::array< double,6U > > > > * >(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 '" "empiricalCopulaHisto6D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,6U >,npstat::HistoND< double,npstat::HistoAxis > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto6D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalCopulaHisto6D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_6U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_6U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_empiricalCopulaHisto6D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_6U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_6U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCopulaHisto6D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalCopulaHisto6D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalCopulaHisto< std::array< double,6U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,6U > >,std::allocator< npstat::OrderedPointND< std::array< double,6U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *,bool)\n"
" npstat::empiricalCopulaHisto< std::array< double,6U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,6U > >,std::allocator< npstat::OrderedPointND< std::array< double,6U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto7D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,7U > >,std::allocator< npstat::OrderedPointND< std::array< double,7U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_7U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_7U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto7D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,7U > >,std::allocator< npstat::OrderedPointND< std::array< double,7U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto7D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,7U > >,std::allocator< npstat::OrderedPointND< std::array< double,7U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,7U > >,std::allocator< npstat::OrderedPointND< std::array< double,7U > > > > * >(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 '" "empiricalCopulaHisto7D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalCopulaHisto7D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,7U >,npstat::HistoND< double,npstat::HistoAxis > >(*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_empiricalCopulaHisto7D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,7U > >,std::allocator< npstat::OrderedPointND< std::array< double,7U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 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_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_7U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_7U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto7D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,7U > >,std::allocator< npstat::OrderedPointND< std::array< double,7U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto7D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,7U > >,std::allocator< npstat::OrderedPointND< std::array< double,7U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,7U > >,std::allocator< npstat::OrderedPointND< std::array< double,7U > > > > * >(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 '" "empiricalCopulaHisto7D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,7U >,npstat::HistoND< double,npstat::HistoAxis > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto7D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalCopulaHisto7D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_7U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_7U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_empiricalCopulaHisto7D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_7U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_7U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCopulaHisto7D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalCopulaHisto7D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalCopulaHisto< std::array< double,7U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,7U > >,std::allocator< npstat::OrderedPointND< std::array< double,7U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *,bool)\n"
" npstat::empiricalCopulaHisto< std::array< double,7U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,7U > >,std::allocator< npstat::OrderedPointND< std::array< double,7U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto8D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,8U > >,std::allocator< npstat::OrderedPointND< std::array< double,8U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_8U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_8U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto8D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,8U > >,std::allocator< npstat::OrderedPointND< std::array< double,8U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto8D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,8U > >,std::allocator< npstat::OrderedPointND< std::array< double,8U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,8U > >,std::allocator< npstat::OrderedPointND< std::array< double,8U > > > > * >(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 '" "empiricalCopulaHisto8D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalCopulaHisto8D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,8U >,npstat::HistoND< double,npstat::HistoAxis > >(*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_empiricalCopulaHisto8D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,8U > >,std::allocator< npstat::OrderedPointND< std::array< double,8U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 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_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_8U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_8U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto8D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,8U > >,std::allocator< npstat::OrderedPointND< std::array< double,8U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto8D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,8U > >,std::allocator< npstat::OrderedPointND< std::array< double,8U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,8U > >,std::allocator< npstat::OrderedPointND< std::array< double,8U > > > > * >(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 '" "empiricalCopulaHisto8D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,8U >,npstat::HistoND< double,npstat::HistoAxis > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto8D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalCopulaHisto8D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_8U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_8U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_empiricalCopulaHisto8D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_8U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_8U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCopulaHisto8D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalCopulaHisto8D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalCopulaHisto< std::array< double,8U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,8U > >,std::allocator< npstat::OrderedPointND< std::array< double,8U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *,bool)\n"
" npstat::empiricalCopulaHisto< std::array< double,8U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,8U > >,std::allocator< npstat::OrderedPointND< std::array< double,8U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto9D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,9U > >,std::allocator< npstat::OrderedPointND< std::array< double,9U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_9U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_9U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto9D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,9U > >,std::allocator< npstat::OrderedPointND< std::array< double,9U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto9D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,9U > >,std::allocator< npstat::OrderedPointND< std::array< double,9U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,9U > >,std::allocator< npstat::OrderedPointND< std::array< double,9U > > > > * >(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 '" "empiricalCopulaHisto9D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalCopulaHisto9D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,9U >,npstat::HistoND< double,npstat::HistoAxis > >(*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_empiricalCopulaHisto9D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,9U > >,std::allocator< npstat::OrderedPointND< std::array< double,9U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 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_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_9U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_9U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto9D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,9U > >,std::allocator< npstat::OrderedPointND< std::array< double,9U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto9D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,9U > >,std::allocator< npstat::OrderedPointND< std::array< double,9U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,9U > >,std::allocator< npstat::OrderedPointND< std::array< double,9U > > > > * >(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 '" "empiricalCopulaHisto9D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,9U >,npstat::HistoND< double,npstat::HistoAxis > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto9D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalCopulaHisto9D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_9U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_9U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_empiricalCopulaHisto9D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_9U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_9U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCopulaHisto9D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalCopulaHisto9D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalCopulaHisto< std::array< double,9U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,9U > >,std::allocator< npstat::OrderedPointND< std::array< double,9U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *,bool)\n"
" npstat::empiricalCopulaHisto< std::array< double,9U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,9U > >,std::allocator< npstat::OrderedPointND< std::array< double,9U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto10D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,10U > >,std::allocator< npstat::OrderedPointND< std::array< double,10U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_10U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_10U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto10D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,10U > >,std::allocator< npstat::OrderedPointND< std::array< double,10U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto10D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,10U > >,std::allocator< npstat::OrderedPointND< std::array< double,10U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,10U > >,std::allocator< npstat::OrderedPointND< std::array< double,10U > > > > * >(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 '" "empiricalCopulaHisto10D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalCopulaHisto10D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,10U >,npstat::HistoND< double,npstat::HistoAxis > >(*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_empiricalCopulaHisto10D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::OrderedPointND< std::array< double,10U > >,std::allocator< npstat::OrderedPointND< std::array< double,10U > > > > *arg1 = 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = (npstat::HistoND< double,npstat::HistoAxis > *) 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_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_10U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_10U_t_t_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCopulaHisto10D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,10U > >,std::allocator< npstat::OrderedPointND< std::array< double,10U > > > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCopulaHisto10D" "', argument " "1"" of type '" "std::vector< npstat::OrderedPointND< std::array< double,10U > >,std::allocator< npstat::OrderedPointND< std::array< double,10U > > > > &""'");
}
arg1 = reinterpret_cast< std::vector< npstat::OrderedPointND< std::array< double,10U > >,std::allocator< npstat::OrderedPointND< std::array< double,10U > > > > * >(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 '" "empiricalCopulaHisto10D" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCopulaHisto< std::array< double,10U >,npstat::HistoND< double,npstat::HistoAxis > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCopulaHisto10D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalCopulaHisto10D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_10U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_10U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_empiricalCopulaHisto10D__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_npstat__OrderedPointNDT_std__arrayT_double_10U_t_t_std__allocatorT_npstat__OrderedPointNDT_std__arrayT_double_10U_t_t_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__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCopulaHisto10D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalCopulaHisto10D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalCopulaHisto< std::array< double,10U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,10U > >,std::allocator< npstat::OrderedPointND< std::array< double,10U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *,bool)\n"
" npstat::empiricalCopulaHisto< std::array< double,10U >,npstat::HistoND< double,npstat::HistoAxis > >(std::vector< npstat::OrderedPointND< std::array< double,10U > >,std::allocator< npstat::OrderedPointND< std::array< double,10U > > > > &,npstat::HistoND< double,npstat::HistoAxis > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_ConstantBandwidthSmootherND_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 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_ConstantBandwidthSmootherND_4_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 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__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_dim" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(argp1);
{
try {
result = (unsigned int)((npstat::ConstantBandwidthSmootherND< 4U > 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_ConstantBandwidthSmootherND_4_shape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 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__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_shape" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(argp1);
{
try {
result = (npstat::ArrayShape *) &((npstat::ConstantBandwidthSmootherND< 4U > 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_ConstantBandwidthSmootherND_4_shapeData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 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__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_shapeData" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(argp1);
{
try {
result = (unsigned int *)((npstat::ConstantBandwidthSmootherND< 4U > 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_ConstantBandwidthSmootherND_4_maxDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 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__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_maxDegree" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(argp1);
{
try {
result = (unsigned int)((npstat::ConstantBandwidthSmootherND< 4U > 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_ConstantBandwidthSmootherND_4_mirrorsData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 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__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_mirrorsData" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(argp1);
{
try {
result = (bool)((npstat::ConstantBandwidthSmootherND< 4U > 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_ConstantBandwidthSmootherND_4_taper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 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, "ConstantBandwidthSmootherND_4_taper", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_taper" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstantBandwidthSmootherND_4_taper" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::ConstantBandwidthSmootherND< 4U > const *)arg1)->taper(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_ConstantBandwidthSmootherND_4_classMaxDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ConstantBandwidthSmootherND_4_classMaxDegree", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ConstantBandwidthSmootherND< 4U >::SWIGTEMPLATEDISAMBIGUATOR classMaxDegree();
} 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_new_ConstantBandwidthSmootherND_4__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char > *arg1 = 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
npstat::ConstantBandwidthSmootherND< 4U > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char > * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmootherND_4" "', 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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::ConstantBandwidthSmootherND< 4U > *)new npstat::ConstantBandwidthSmootherND< 4U >((npstat::HistoND< unsigned char > const &)*arg1,(npstat::AbsDistributionND const &)*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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmootherND_4__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char > *arg1 = 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
npstat::ConstantBandwidthSmootherND< 4U > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char > * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::ConstantBandwidthSmootherND< 4U > *)new npstat::ConstantBandwidthSmootherND< 4U >((npstat::HistoND< unsigned char > const &)*arg1,(npstat::AbsDistributionND const &)*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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmootherND_4__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int > *arg1 = 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
npstat::ConstantBandwidthSmootherND< 4U > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< int > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int > * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmootherND_4" "', 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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::ConstantBandwidthSmootherND< 4U > *)new npstat::ConstantBandwidthSmootherND< 4U >((npstat::HistoND< int > const &)*arg1,(npstat::AbsDistributionND const &)*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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmootherND_4__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int > *arg1 = 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
npstat::ConstantBandwidthSmootherND< 4U > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< int > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int > * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::ConstantBandwidthSmootherND< 4U > *)new npstat::ConstantBandwidthSmootherND< 4U >((npstat::HistoND< int > const &)*arg1,(npstat::AbsDistributionND const &)*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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmootherND_4__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long > *arg1 = 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
npstat::ConstantBandwidthSmootherND< 4U > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< long > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long > * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmootherND_4" "', 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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::ConstantBandwidthSmootherND< 4U > *)new npstat::ConstantBandwidthSmootherND< 4U >((npstat::HistoND< long > const &)*arg1,(npstat::AbsDistributionND const &)*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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmootherND_4__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long > *arg1 = 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
npstat::ConstantBandwidthSmootherND< 4U > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< long > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long > * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::ConstantBandwidthSmootherND< 4U > *)new npstat::ConstantBandwidthSmootherND< 4U >((npstat::HistoND< long > const &)*arg1,(npstat::AbsDistributionND const &)*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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmootherND_4__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float > *arg1 = 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
npstat::ConstantBandwidthSmootherND< 4U > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< float > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float > * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmootherND_4" "', 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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::ConstantBandwidthSmootherND< 4U > *)new npstat::ConstantBandwidthSmootherND< 4U >((npstat::HistoND< float > const &)*arg1,(npstat::AbsDistributionND const &)*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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmootherND_4__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float > *arg1 = 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
npstat::ConstantBandwidthSmootherND< 4U > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< float > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float > * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::ConstantBandwidthSmootherND< 4U > *)new npstat::ConstantBandwidthSmootherND< 4U >((npstat::HistoND< float > const &)*arg1,(npstat::AbsDistributionND const &)*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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmootherND_4__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double > *arg1 = 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
npstat::ConstantBandwidthSmootherND< 4U > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< double > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double > * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmootherND_4" "', 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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::ConstantBandwidthSmootherND< 4U > *)new npstat::ConstantBandwidthSmootherND< 4U >((npstat::HistoND< double > const &)*arg1,(npstat::AbsDistributionND const &)*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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmootherND_4__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double > *arg1 = 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
npstat::ConstantBandwidthSmootherND< 4U > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "1"" of type '" "npstat::HistoND< double > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double > * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(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 '" "new_ConstantBandwidthSmootherND_4" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmootherND_4" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::ConstantBandwidthSmootherND< 4U > *)new npstat::ConstantBandwidthSmootherND< 4U >((npstat::HistoND< double > const &)*arg1,(npstat::AbsDistributionND const &)*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__ConstantBandwidthSmootherNDT_4U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmootherND_4(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ConstantBandwidthSmootherND_4", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 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_ConstantBandwidthSmootherND_4__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 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_ConstantBandwidthSmootherND_4__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 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_ConstantBandwidthSmootherND_4__SWIG_5(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 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_ConstantBandwidthSmootherND_4__SWIG_7(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 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_ConstantBandwidthSmootherND_4__SWIG_9(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
_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_new_ConstantBandwidthSmootherND_4__SWIG_2(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
_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_new_ConstantBandwidthSmootherND_4__SWIG_6(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
_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_new_ConstantBandwidthSmootherND_4__SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
_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_new_ConstantBandwidthSmootherND_4__SWIG_8(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
_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_new_ConstantBandwidthSmootherND_4__SWIG_4(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ConstantBandwidthSmootherND_4'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ConstantBandwidthSmootherND< 4U >::ConstantBandwidthSmootherND(npstat::HistoND< unsigned char > const &,npstat::AbsDistributionND const &,double const *,unsigned int,bool)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::ConstantBandwidthSmootherND(npstat::HistoND< unsigned char > const &,npstat::AbsDistributionND const &,double const *,unsigned int)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::ConstantBandwidthSmootherND(npstat::HistoND< int > const &,npstat::AbsDistributionND const &,double const *,unsigned int,bool)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::ConstantBandwidthSmootherND(npstat::HistoND< int > const &,npstat::AbsDistributionND const &,double const *,unsigned int)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::ConstantBandwidthSmootherND(npstat::HistoND< long > const &,npstat::AbsDistributionND const &,double const *,unsigned int,bool)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::ConstantBandwidthSmootherND(npstat::HistoND< long > const &,npstat::AbsDistributionND const &,double const *,unsigned int)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::ConstantBandwidthSmootherND(npstat::HistoND< float > const &,npstat::AbsDistributionND const &,double const *,unsigned int,bool)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::ConstantBandwidthSmootherND(npstat::HistoND< float > const &,npstat::AbsDistributionND const &,double const *,unsigned int)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::ConstantBandwidthSmootherND(npstat::HistoND< double > const &,npstat::AbsDistributionND const &,double const *,unsigned int,bool)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::ConstantBandwidthSmootherND(npstat::HistoND< double > const &,npstat::AbsDistributionND const &,double const *,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 0 ;
npstat::HistoND< int > *arg2 = 0 ;
npstat::HistoND< double > *arg3 = (npstat::HistoND< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(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 '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', 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__HistoNDT_double_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "3"" of type '" "npstat::HistoND< double > *""'");
}
arg3 = reinterpret_cast< npstat::HistoND< double > * >(argp3);
{
try {
(arg1)->SWIGTEMPLATEDISAMBIGUATOR smoothHistogram< int,double >((npstat::HistoND< int > 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_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 0 ;
npstat::HistoND< long > *arg2 = 0 ;
npstat::HistoND< double > *arg3 = (npstat::HistoND< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(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 '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', 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__HistoNDT_double_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "3"" of type '" "npstat::HistoND< double > *""'");
}
arg3 = reinterpret_cast< npstat::HistoND< double > * >(argp3);
{
try {
(arg1)->SWIGTEMPLATEDISAMBIGUATOR smoothHistogram< long,double >((npstat::HistoND< long > 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_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 0 ;
npstat::HistoND< float > *arg2 = 0 ;
npstat::HistoND< double > *arg3 = (npstat::HistoND< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(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 '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', 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__HistoNDT_double_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "3"" of type '" "npstat::HistoND< double > *""'");
}
arg3 = reinterpret_cast< npstat::HistoND< double > * >(argp3);
{
try {
(arg1)->SWIGTEMPLATEDISAMBIGUATOR smoothHistogram< float,double >((npstat::HistoND< float > 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_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 0 ;
npstat::HistoND< double > *arg2 = 0 ;
npstat::HistoND< double > *arg3 = (npstat::HistoND< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(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 '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', 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__HistoNDT_double_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "3"" of type '" "npstat::HistoND< double > *""'");
}
arg3 = reinterpret_cast< npstat::HistoND< double > * >(argp3);
{
try {
(arg1)->SWIGTEMPLATEDISAMBIGUATOR smoothHistogram< double,double >((npstat::HistoND< 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_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 0 ;
npstat::HistoND< unsigned char > *arg2 = 0 ;
npstat::HistoND< double > *arg3 = (npstat::HistoND< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(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 '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', 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__HistoNDT_double_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "3"" of type '" "npstat::HistoND< double > *""'");
}
arg3 = reinterpret_cast< npstat::HistoND< double > * >(argp3);
{
try {
(arg1)->SWIGTEMPLATEDISAMBIGUATOR smoothHistogram< unsigned char,double >((npstat::HistoND< unsigned char > 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_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 0 ;
npstat::HistoND< int > *arg2 = 0 ;
npstat::HistoND< float > *arg3 = (npstat::HistoND< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(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 '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', 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__HistoNDT_float_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "3"" of type '" "npstat::HistoND< float > *""'");
}
arg3 = reinterpret_cast< npstat::HistoND< float > * >(argp3);
{
try {
(arg1)->SWIGTEMPLATEDISAMBIGUATOR smoothHistogram< int,float >((npstat::HistoND< int > 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_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 0 ;
npstat::HistoND< long > *arg2 = 0 ;
npstat::HistoND< float > *arg3 = (npstat::HistoND< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(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 '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', 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__HistoNDT_float_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "3"" of type '" "npstat::HistoND< float > *""'");
}
arg3 = reinterpret_cast< npstat::HistoND< float > * >(argp3);
{
try {
(arg1)->SWIGTEMPLATEDISAMBIGUATOR smoothHistogram< long,float >((npstat::HistoND< long > 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_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 0 ;
npstat::HistoND< float > *arg2 = 0 ;
npstat::HistoND< float > *arg3 = (npstat::HistoND< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(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 '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', 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__HistoNDT_float_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "3"" of type '" "npstat::HistoND< float > *""'");
}
arg3 = reinterpret_cast< npstat::HistoND< float > * >(argp3);
{
try {
(arg1)->SWIGTEMPLATEDISAMBIGUATOR smoothHistogram< float,float >((npstat::HistoND< float > 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_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 0 ;
npstat::HistoND< double > *arg2 = 0 ;
npstat::HistoND< float > *arg3 = (npstat::HistoND< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(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 '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', 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__HistoNDT_float_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "3"" of type '" "npstat::HistoND< float > *""'");
}
arg3 = reinterpret_cast< npstat::HistoND< float > * >(argp3);
{
try {
(arg1)->SWIGTEMPLATEDISAMBIGUATOR smoothHistogram< double,float >((npstat::HistoND< 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_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmootherND< 4U > *arg1 = (npstat::ConstantBandwidthSmootherND< 4U > *) 0 ;
npstat::HistoND< unsigned char > *arg2 = 0 ;
npstat::HistoND< float > *arg3 = (npstat::HistoND< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmootherND< 4U > *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmootherND< 4U > * >(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 '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', 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__HistoNDT_float_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ConstantBandwidthSmootherND_4_smoothHistogram" "', argument " "3"" of type '" "npstat::HistoND< float > *""'");
}
arg3 = reinterpret_cast< npstat::HistoND< float > * >(argp3);
{
try {
(arg1)->SWIGTEMPLATEDISAMBIGUATOR smoothHistogram< unsigned char,float >((npstat::HistoND< unsigned char > 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_ConstantBandwidthSmootherND_4_smoothHistogram(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ConstantBandwidthSmootherND_4_smoothHistogram", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_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) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__HistoNDT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_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) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__HistoNDT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_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) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__HistoNDT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_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) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__HistoNDT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_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) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__HistoNDT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_5(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_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) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__HistoNDT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_6(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_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) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__HistoNDT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_7(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_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) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__HistoNDT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_8(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_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) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__HistoNDT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_9(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_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) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__HistoNDT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ConstantBandwidthSmootherND_4_smoothHistogram__SWIG_10(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ConstantBandwidthSmootherND_4_smoothHistogram'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ConstantBandwidthSmootherND< 4U >::smoothHistogram< int,double >(npstat::HistoND< int > const &,npstat::HistoND< double > *)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::smoothHistogram< long,double >(npstat::HistoND< long > const &,npstat::HistoND< double > *)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::smoothHistogram< float,double >(npstat::HistoND< float > const &,npstat::HistoND< double > *)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::smoothHistogram< double,double >(npstat::HistoND< double > const &,npstat::HistoND< double > *)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::smoothHistogram< unsigned char,double >(npstat::HistoND< unsigned char > const &,npstat::HistoND< double > *)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::smoothHistogram< int,float >(npstat::HistoND< int > const &,npstat::HistoND< float > *)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::smoothHistogram< long,float >(npstat::HistoND< long > const &,npstat::HistoND< float > *)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::smoothHistogram< float,float >(npstat::HistoND< float > const &,npstat::HistoND< float > *)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::smoothHistogram< double,float >(npstat::HistoND< double > const &,npstat::HistoND< float > *)\n"
" npstat::ConstantBandwidthSmootherND< 4U >::smoothHistogram< unsigned char,float >(npstat::HistoND< unsigned char > const &,npstat::HistoND< float > *)\n");
return 0;
}
SWIGINTERN PyObject *ConstantBandwidthSmootherND_4_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ConstantBandwidthSmootherNDT_4U_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ConstantBandwidthSmootherND_4_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DiscreteTabulated1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
long arg1 ;
std::vector< double,std::allocator< double > > *arg2 = 0 ;
long val1 ;
int ecode1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
npstat::DiscreteTabulated1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DiscreteTabulated1D", 2, 2, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_long(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DiscreteTabulated1D" "', argument " "1"" of type '" "long""'");
}
arg1 = static_cast< long >(val1);
{
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 '" "new_DiscreteTabulated1D" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DiscreteTabulated1D" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::DiscreteTabulated1D *)new npstat::DiscreteTabulated1D(arg1,(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__DiscreteTabulated1D, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DiscreteTabulated1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DiscreteTabulated1D *arg1 = (npstat::DiscreteTabulated1D *) 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__DiscreteTabulated1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DiscreteTabulated1D" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D *""'");
}
arg1 = reinterpret_cast< npstat::DiscreteTabulated1D * >(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_DiscreteTabulated1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DiscreteTabulated1D *arg1 = (npstat::DiscreteTabulated1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::DiscreteTabulated1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DiscreteTabulated1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DiscreteTabulated1D_clone" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D const *""'");
}
arg1 = reinterpret_cast< npstat::DiscreteTabulated1D * >(argp1);
{
try {
result = (npstat::DiscreteTabulated1D *)((npstat::DiscreteTabulated1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DiscreteTabulated1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DiscreteTabulated1D_probabilities(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DiscreteTabulated1D *arg1 = (npstat::DiscreteTabulated1D *) 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__DiscreteTabulated1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DiscreteTabulated1D_probabilities" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D const *""'");
}
arg1 = reinterpret_cast< npstat::DiscreteTabulated1D * >(argp1);
{
try {
result = (std::vector< double,std::allocator< double > > *) &((npstat::DiscreteTabulated1D const *)arg1)->probabilities();
} 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_DiscreteTabulated1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DiscreteTabulated1D *arg1 = (npstat::DiscreteTabulated1D *) 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__DiscreteTabulated1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DiscreteTabulated1D_classId" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D const *""'");
}
arg1 = reinterpret_cast< npstat::DiscreteTabulated1D * >(argp1);
{
try {
result = ((npstat::DiscreteTabulated1D 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_DiscreteTabulated1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DiscreteTabulated1D *arg1 = (npstat::DiscreteTabulated1D *) 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, "DiscreteTabulated1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DiscreteTabulated1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DiscreteTabulated1D_write" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D const *""'");
}
arg1 = reinterpret_cast< npstat::DiscreteTabulated1D * >(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 '" "DiscreteTabulated1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DiscreteTabulated1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::DiscreteTabulated1D 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_DiscreteTabulated1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DiscreteTabulated1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::DiscreteTabulated1D::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_DiscreteTabulated1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DiscreteTabulated1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::DiscreteTabulated1D::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_DiscreteTabulated1D_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::DiscreteTabulated1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DiscreteTabulated1D_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 '" "DiscreteTabulated1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DiscreteTabulated1D_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 '" "DiscreteTabulated1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DiscreteTabulated1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::DiscreteTabulated1D *)npstat::DiscreteTabulated1D::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__DiscreteTabulated1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DiscreteTabulated1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DiscreteTabulated1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DiscreteTabulated1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_pooledDiscreteTabulated1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DiscreteTabulated1D *arg1 = 0 ;
double arg2 ;
npstat::DiscreteTabulated1D *arg3 = 0 ;
double arg4 ;
long arg5 ;
long arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
long val5 ;
int ecode5 = 0 ;
long val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
SwigValueWrapper< npstat::DiscreteTabulated1D > result;
if (!SWIG_Python_UnpackTuple(args, "pooledDiscreteTabulated1D", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DiscreteTabulated1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pooledDiscreteTabulated1D" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "pooledDiscreteTabulated1D" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D const &""'");
}
arg1 = reinterpret_cast< npstat::DiscreteTabulated1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pooledDiscreteTabulated1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__DiscreteTabulated1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pooledDiscreteTabulated1D" "', argument " "3"" of type '" "npstat::DiscreteTabulated1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "pooledDiscreteTabulated1D" "', argument " "3"" of type '" "npstat::DiscreteTabulated1D const &""'");
}
arg3 = reinterpret_cast< npstat::DiscreteTabulated1D * >(argp3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pooledDiscreteTabulated1D" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pooledDiscreteTabulated1D" "', argument " "5"" of type '" "long""'");
}
arg5 = static_cast< long >(val5);
ecode6 = SWIG_AsVal_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "pooledDiscreteTabulated1D" "', argument " "6"" of type '" "long""'");
}
arg6 = static_cast< long >(val6);
{
try {
result = npstat::pooledDiscreteTabulated1D((npstat::DiscreteTabulated1D const &)*arg1,arg2,(npstat::DiscreteTabulated1D const &)*arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::DiscreteTabulated1D(static_cast< const npstat::DiscreteTabulated1D& >(result))), SWIGTYPE_p_npstat__DiscreteTabulated1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Poisson1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::Poisson1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Poisson1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::Poisson1D *)new npstat::Poisson1D(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__Poisson1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Poisson1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::Poisson1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Poisson1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__Poisson1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Poisson1D" "', argument " "1"" of type '" "npstat::Poisson1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Poisson1D" "', argument " "1"" of type '" "npstat::Poisson1D const &""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(argp1);
{
try {
result = (npstat::Poisson1D *)new npstat::Poisson1D((npstat::Poisson1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__Poisson1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Poisson1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Poisson1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__Poisson1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Poisson1D__SWIG_1(self, argc, argv);
}
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Poisson1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Poisson1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::Poisson1D::Poisson1D(double)\n"
" npstat::Poisson1D::Poisson1D(npstat::Poisson1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Poisson1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Poisson1D *arg1 = (npstat::Poisson1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::Poisson1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__Poisson1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Poisson1D_clone" "', argument " "1"" of type '" "npstat::Poisson1D const *""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(argp1);
{
try {
result = (npstat::Poisson1D *)((npstat::Poisson1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__Poisson1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Poisson1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Poisson1D *arg1 = (npstat::Poisson1D *) 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__Poisson1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Poisson1D" "', argument " "1"" of type '" "npstat::Poisson1D *""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(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_Poisson1D_mean(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Poisson1D *arg1 = (npstat::Poisson1D *) 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__Poisson1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Poisson1D_mean" "', argument " "1"" of type '" "npstat::Poisson1D const *""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(argp1);
{
try {
result = (double)((npstat::Poisson1D 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_Poisson1D_probability(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Poisson1D *arg1 = (npstat::Poisson1D *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "Poisson1D_probability", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__Poisson1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Poisson1D_probability" "', argument " "1"" of type '" "npstat::Poisson1D const *""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Poisson1D_probability" "', argument " "2"" of type '" "long""'");
}
arg2 = static_cast< long >(val2);
{
try {
result = (double)((npstat::Poisson1D const *)arg1)->probability(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_Poisson1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Poisson1D *arg1 = (npstat::Poisson1D *) 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, "Poisson1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__Poisson1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Poisson1D_cdf" "', argument " "1"" of type '" "npstat::Poisson1D const *""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Poisson1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::Poisson1D 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_Poisson1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Poisson1D *arg1 = (npstat::Poisson1D *) 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, "Poisson1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__Poisson1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Poisson1D_exceedance" "', argument " "1"" of type '" "npstat::Poisson1D const *""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Poisson1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::Poisson1D 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_Poisson1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Poisson1D *arg1 = (npstat::Poisson1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
long result;
if (!SWIG_Python_UnpackTuple(args, "Poisson1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__Poisson1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Poisson1D_quantile" "', argument " "1"" of type '" "npstat::Poisson1D const *""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Poisson1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (long)((npstat::Poisson1D const *)arg1)->quantile(arg2);
} 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_Poisson1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Poisson1D *arg1 = (npstat::Poisson1D *) 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__Poisson1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Poisson1D_classId" "', argument " "1"" of type '" "npstat::Poisson1D const *""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(argp1);
{
try {
result = ((npstat::Poisson1D 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_Poisson1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Poisson1D *arg1 = (npstat::Poisson1D *) 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, "Poisson1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__Poisson1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Poisson1D_write" "', argument " "1"" of type '" "npstat::Poisson1D const *""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(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 '" "Poisson1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Poisson1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::Poisson1D 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_Poisson1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Poisson1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::Poisson1D::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_Poisson1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "Poisson1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::Poisson1D::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_Poisson1D_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::Poisson1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Poisson1D_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 '" "Poisson1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Poisson1D_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 '" "Poisson1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Poisson1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::Poisson1D *)npstat::Poisson1D::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__Poisson1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Poisson1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__Poisson1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Poisson1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_DiscreteTabulated1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DiscreteTabulated1D *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::DiscreteTabulated1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_DiscreteTabulated1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DiscreteTabulated1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_DiscreteTabulated1D" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_DiscreteTabulated1D" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D const &""'");
}
arg1 = reinterpret_cast< npstat::DiscreteTabulated1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_DiscreteTabulated1D" "', 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_DiscreteTabulated1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::DiscreteTabulated1D > *)new gs::ArchiveRecord< npstat::DiscreteTabulated1D >((npstat::DiscreteTabulated1D 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__DiscreteTabulated1D_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_DiscreteTabulated1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::DiscreteTabulated1D > *arg1 = (gs::ArchiveRecord< npstat::DiscreteTabulated1D > *) 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__DiscreteTabulated1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_DiscreteTabulated1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::DiscreteTabulated1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::DiscreteTabulated1D > * >(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_DiscreteTabulated1D_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__DiscreteTabulated1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_DiscreteTabulated1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_147(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DiscreteTabulated1D *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::DiscreteTabulated1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DiscreteTabulated1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::DiscreteTabulated1D const &""'");
}
arg1 = reinterpret_cast< npstat::DiscreteTabulated1D * >(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::DiscreteTabulated1D >((npstat::DiscreteTabulated1D 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::DiscreteTabulated1D >(static_cast< const gs::ArchiveRecord< npstat::DiscreteTabulated1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__DiscreteTabulated1D_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_DiscreteTabulated1D__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::DiscreteTabulated1D > *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_DiscreteTabulated1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DiscreteTabulated1D" "', 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_DiscreteTabulated1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::DiscreteTabulated1D > *)new gs::Reference< npstat::DiscreteTabulated1D >(*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__DiscreteTabulated1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DiscreteTabulated1D__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::DiscreteTabulated1D > *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_DiscreteTabulated1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DiscreteTabulated1D" "', 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_DiscreteTabulated1D" "', 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_DiscreteTabulated1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::DiscreteTabulated1D > *)new gs::Reference< npstat::DiscreteTabulated1D >(*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__DiscreteTabulated1D_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_DiscreteTabulated1D__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::DiscreteTabulated1D > *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_DiscreteTabulated1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DiscreteTabulated1D" "', 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_DiscreteTabulated1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DiscreteTabulated1D" "', 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_DiscreteTabulated1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DiscreteTabulated1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::DiscreteTabulated1D > *)new gs::Reference< npstat::DiscreteTabulated1D >(*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__DiscreteTabulated1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DiscreteTabulated1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_DiscreteTabulated1D", 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_DiscreteTabulated1D__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_DiscreteTabulated1D__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_DiscreteTabulated1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_DiscreteTabulated1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::DiscreteTabulated1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::DiscreteTabulated1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::DiscreteTabulated1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_DiscreteTabulated1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DiscreteTabulated1D > *arg1 = (gs::Reference< npstat::DiscreteTabulated1D > *) 0 ;
unsigned long arg2 ;
npstat::DiscreteTabulated1D *arg3 = (npstat::DiscreteTabulated1D *) 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_DiscreteTabulated1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DiscreteTabulated1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DiscreteTabulated1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::DiscreteTabulated1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DiscreteTabulated1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DiscreteTabulated1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__DiscreteTabulated1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_DiscreteTabulated1D_restore" "', argument " "3"" of type '" "npstat::DiscreteTabulated1D *""'");
}
arg3 = reinterpret_cast< npstat::DiscreteTabulated1D * >(argp3);
{
try {
((gs::Reference< npstat::DiscreteTabulated1D > 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_DiscreteTabulated1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DiscreteTabulated1D > *arg1 = (gs::Reference< npstat::DiscreteTabulated1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::DiscreteTabulated1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_DiscreteTabulated1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DiscreteTabulated1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DiscreteTabulated1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::DiscreteTabulated1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DiscreteTabulated1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DiscreteTabulated1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::DiscreteTabulated1D *)gs_Reference_Sl_npstat_DiscreteTabulated1D_Sg__retrieve((gs::Reference< npstat::DiscreteTabulated1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DiscreteTabulated1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_DiscreteTabulated1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DiscreteTabulated1D > *arg1 = (gs::Reference< npstat::DiscreteTabulated1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::DiscreteTabulated1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_DiscreteTabulated1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DiscreteTabulated1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DiscreteTabulated1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::DiscreteTabulated1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DiscreteTabulated1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DiscreteTabulated1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_DiscreteTabulated1D_Sg__getValue((gs::Reference< npstat::DiscreteTabulated1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::DiscreteTabulated1D(static_cast< const npstat::DiscreteTabulated1D& >(result))), SWIGTYPE_p_npstat__DiscreteTabulated1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_DiscreteTabulated1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DiscreteTabulated1D > *arg1 = (gs::Reference< npstat::DiscreteTabulated1D > *) 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__DiscreteTabulated1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_DiscreteTabulated1D" "', argument " "1"" of type '" "gs::Reference< npstat::DiscreteTabulated1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DiscreteTabulated1D > * >(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_DiscreteTabulated1D_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__DiscreteTabulated1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_DiscreteTabulated1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_Poisson1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Poisson1D *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::Poisson1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_Poisson1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__Poisson1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_Poisson1D" "', argument " "1"" of type '" "npstat::Poisson1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_Poisson1D" "', argument " "1"" of type '" "npstat::Poisson1D const &""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_Poisson1D" "', 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_Poisson1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::Poisson1D > *)new gs::ArchiveRecord< npstat::Poisson1D >((npstat::Poisson1D 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__Poisson1D_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_Poisson1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::Poisson1D > *arg1 = (gs::ArchiveRecord< npstat::Poisson1D > *) 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__Poisson1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_Poisson1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::Poisson1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::Poisson1D > * >(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_Poisson1D_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__Poisson1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_Poisson1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_148(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::Poisson1D *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::Poisson1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__Poisson1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::Poisson1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::Poisson1D const &""'");
}
arg1 = reinterpret_cast< npstat::Poisson1D * >(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::Poisson1D >((npstat::Poisson1D 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::Poisson1D >(static_cast< const gs::ArchiveRecord< npstat::Poisson1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__Poisson1D_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_Poisson1D__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::Poisson1D > *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_Poisson1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_Poisson1D" "', 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_Poisson1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::Poisson1D > *)new gs::Reference< npstat::Poisson1D >(*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__Poisson1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_Poisson1D__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::Poisson1D > *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_Poisson1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_Poisson1D" "', 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_Poisson1D" "', 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_Poisson1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::Poisson1D > *)new gs::Reference< npstat::Poisson1D >(*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__Poisson1D_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_Poisson1D__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::Poisson1D > *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_Poisson1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_Poisson1D" "', 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_Poisson1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_Poisson1D" "', 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_Poisson1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_Poisson1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::Poisson1D > *)new gs::Reference< npstat::Poisson1D >(*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__Poisson1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_Poisson1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_Poisson1D", 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_Poisson1D__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_Poisson1D__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_Poisson1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_Poisson1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::Poisson1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::Poisson1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::Poisson1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_Poisson1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::Poisson1D > *arg1 = (gs::Reference< npstat::Poisson1D > *) 0 ;
unsigned long arg2 ;
npstat::Poisson1D *arg3 = (npstat::Poisson1D *) 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_Poisson1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__Poisson1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_Poisson1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::Poisson1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::Poisson1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_Poisson1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__Poisson1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_Poisson1D_restore" "', argument " "3"" of type '" "npstat::Poisson1D *""'");
}
arg3 = reinterpret_cast< npstat::Poisson1D * >(argp3);
{
try {
((gs::Reference< npstat::Poisson1D > 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_Poisson1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::Poisson1D > *arg1 = (gs::Reference< npstat::Poisson1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::Poisson1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_Poisson1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__Poisson1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_Poisson1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::Poisson1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::Poisson1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_Poisson1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::Poisson1D *)gs_Reference_Sl_npstat_Poisson1D_Sg__retrieve((gs::Reference< npstat::Poisson1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__Poisson1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_Poisson1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::Poisson1D > *arg1 = (gs::Reference< npstat::Poisson1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::Poisson1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_Poisson1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__Poisson1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_Poisson1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::Poisson1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::Poisson1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_Poisson1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_Poisson1D_Sg__getValue((gs::Reference< npstat::Poisson1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Poisson1D(static_cast< const npstat::Poisson1D& >(result))), SWIGTYPE_p_npstat__Poisson1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_Poisson1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::Poisson1D > *arg1 = (gs::Reference< npstat::Poisson1D > *) 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__Poisson1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_Poisson1D" "', argument " "1"" of type '" "gs::Reference< npstat::Poisson1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::Poisson1D > * >(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_Poisson1D_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__Poisson1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_Poisson1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LogTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogTransform1D *arg1 = (npstat::LogTransform1D *) 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__LogTransform1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LogTransform1D" "', argument " "1"" of type '" "npstat::LogTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::LogTransform1D * >(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_LogTransform1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogTransform1D *arg1 = (npstat::LogTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LogTransform1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LogTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogTransform1D_clone" "', argument " "1"" of type '" "npstat::LogTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LogTransform1D * >(argp1);
{
try {
result = (npstat::LogTransform1D *)((npstat::LogTransform1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LogTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LogTransform1D_transformBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogTransform1D *arg1 = (npstat::LogTransform1D *) 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, "LogTransform1D_transformBack", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LogTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogTransform1D_transformBack" "', argument " "1"" of type '" "npstat::LogTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LogTransform1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LogTransform1D_transformBack" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LogTransform1D 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_LogTransform1D_isIncreasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogTransform1D *arg1 = (npstat::LogTransform1D *) 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__LogTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogTransform1D_isIncreasing" "', argument " "1"" of type '" "npstat::LogTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LogTransform1D * >(argp1);
{
try {
result = (bool)((npstat::LogTransform1D 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_LogTransform1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogTransform1D *arg1 = (npstat::LogTransform1D *) 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__LogTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogTransform1D_classId" "', argument " "1"" of type '" "npstat::LogTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LogTransform1D * >(argp1);
{
try {
result = ((npstat::LogTransform1D 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_LogTransform1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogTransform1D *arg1 = (npstat::LogTransform1D *) 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, "LogTransform1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LogTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogTransform1D_write" "', argument " "1"" of type '" "npstat::LogTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LogTransform1D * >(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 '" "LogTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LogTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::LogTransform1D 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_LogTransform1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LogTransform1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::LogTransform1D::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_LogTransform1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "LogTransform1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::LogTransform1D::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_LogTransform1D_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::LogTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LogTransform1D_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 '" "LogTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LogTransform1D_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 '" "LogTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LogTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::LogTransform1D *)npstat::LogTransform1D::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__LogTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LogTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LogTransform1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_LogTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogTransform1D *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::LogTransform1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_LogTransform1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LogTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_LogTransform1D" "', argument " "1"" of type '" "npstat::LogTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_LogTransform1D" "', argument " "1"" of type '" "npstat::LogTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::LogTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_LogTransform1D" "', 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_LogTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::LogTransform1D > *)new gs::ArchiveRecord< npstat::LogTransform1D >((npstat::LogTransform1D 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__LogTransform1D_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_LogTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::LogTransform1D > *arg1 = (gs::ArchiveRecord< npstat::LogTransform1D > *) 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__LogTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_LogTransform1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::LogTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::LogTransform1D > * >(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_LogTransform1D_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__LogTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_LogTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_149(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LogTransform1D *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::LogTransform1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LogTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LogTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LogTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::LogTransform1D * >(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::LogTransform1D >((npstat::LogTransform1D 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::LogTransform1D >(static_cast< const gs::ArchiveRecord< npstat::LogTransform1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__LogTransform1D_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_LogTransform1D__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::LogTransform1D > *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_LogTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LogTransform1D" "', 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_LogTransform1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::LogTransform1D > *)new gs::Reference< npstat::LogTransform1D >(*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__LogTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LogTransform1D__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::LogTransform1D > *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_LogTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LogTransform1D" "', 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_LogTransform1D" "', 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_LogTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::LogTransform1D > *)new gs::Reference< npstat::LogTransform1D >(*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__LogTransform1D_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_LogTransform1D__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::LogTransform1D > *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_LogTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LogTransform1D" "', 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_LogTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LogTransform1D" "', 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_LogTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LogTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::LogTransform1D > *)new gs::Reference< npstat::LogTransform1D >(*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__LogTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LogTransform1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_LogTransform1D", 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_LogTransform1D__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_LogTransform1D__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_LogTransform1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_LogTransform1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::LogTransform1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::LogTransform1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::LogTransform1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_LogTransform1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LogTransform1D > *arg1 = (gs::Reference< npstat::LogTransform1D > *) 0 ;
unsigned long arg2 ;
npstat::LogTransform1D *arg3 = (npstat::LogTransform1D *) 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_LogTransform1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LogTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LogTransform1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::LogTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LogTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LogTransform1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__LogTransform1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_LogTransform1D_restore" "', argument " "3"" of type '" "npstat::LogTransform1D *""'");
}
arg3 = reinterpret_cast< npstat::LogTransform1D * >(argp3);
{
try {
((gs::Reference< npstat::LogTransform1D > 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_LogTransform1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LogTransform1D > *arg1 = (gs::Reference< npstat::LogTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::LogTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LogTransform1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LogTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LogTransform1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::LogTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LogTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LogTransform1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::LogTransform1D *)gs_Reference_Sl_npstat_LogTransform1D_Sg__retrieve((gs::Reference< npstat::LogTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LogTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LogTransform1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LogTransform1D > *arg1 = (gs::Reference< npstat::LogTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::LogTransform1D result;
if (!SWIG_Python_UnpackTuple(args, "Ref_LogTransform1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LogTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LogTransform1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::LogTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LogTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LogTransform1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_LogTransform1D_Sg__getValue((gs::Reference< npstat::LogTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LogTransform1D(static_cast< const npstat::LogTransform1D& >(result))), SWIGTYPE_p_npstat__LogTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_LogTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LogTransform1D > *arg1 = (gs::Reference< npstat::LogTransform1D > *) 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__LogTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_LogTransform1D" "', argument " "1"" of type '" "gs::Reference< npstat::LogTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LogTransform1D > * >(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_LogTransform1D_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__LogTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_LogTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_QuantileTable1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::QuantileTable1D *arg1 = (npstat::QuantileTable1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::QuantileTable1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__QuantileTable1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QuantileTable1D_clone" "', argument " "1"" of type '" "npstat::QuantileTable1D const *""'");
}
arg1 = reinterpret_cast< npstat::QuantileTable1D * >(argp1);
{
try {
result = (npstat::QuantileTable1D *)((npstat::QuantileTable1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__QuantileTable1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_QuantileTable1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::QuantileTable1D *arg1 = (npstat::QuantileTable1D *) 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__QuantileTable1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_QuantileTable1D" "', argument " "1"" of type '" "npstat::QuantileTable1D *""'");
}
arg1 = reinterpret_cast< npstat::QuantileTable1D * >(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_QuantileTable1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::QuantileTable1D *arg1 = (npstat::QuantileTable1D *) 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__QuantileTable1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QuantileTable1D_classId" "', argument " "1"" of type '" "npstat::QuantileTable1D const *""'");
}
arg1 = reinterpret_cast< npstat::QuantileTable1D * >(argp1);
{
try {
result = ((npstat::QuantileTable1D 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_QuantileTable1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::QuantileTable1D *arg1 = (npstat::QuantileTable1D *) 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, "QuantileTable1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__QuantileTable1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QuantileTable1D_write" "', argument " "1"" of type '" "npstat::QuantileTable1D const *""'");
}
arg1 = reinterpret_cast< npstat::QuantileTable1D * >(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 '" "QuantileTable1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "QuantileTable1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::QuantileTable1D 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_QuantileTable1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "QuantileTable1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::QuantileTable1D::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_QuantileTable1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "QuantileTable1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::QuantileTable1D::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_QuantileTable1D_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::QuantileTable1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "QuantileTable1D_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 '" "QuantileTable1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "QuantileTable1D_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 '" "QuantileTable1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "QuantileTable1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::QuantileTable1D *)npstat::QuantileTable1D::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__QuantileTable1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *QuantileTable1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__QuantileTable1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_interpolateHistoND__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double *arg2 = (double *) 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 ;
float result;
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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,(double const *)arg2,arg3,arg4);
} 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_interpolateHistoND__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
float result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,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_interpolateHistoND__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
float result;
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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4);
} 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_interpolateHistoND__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5);
} 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_interpolateHistoND__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
unsigned int 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 ;
unsigned int val6 ;
int ecode6 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6);
} 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_interpolateHistoND__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
unsigned int 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 ;
unsigned int val7 ;
int ecode7 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7);
} 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_interpolateHistoND__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
unsigned int 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 ;
unsigned int val8 ;
int ecode8 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "interpolateHistoND" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} 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_interpolateHistoND__SWIG_18(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
unsigned int 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 ;
unsigned int val9 ;
int ecode9 = 0 ;
float result;
if ((nobjs < 9) || (nobjs > 9)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "interpolateHistoND" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} 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_interpolateHistoND__SWIG_19(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
unsigned int 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 ;
unsigned int val10 ;
int ecode10 = 0 ;
float result;
if ((nobjs < 10) || (nobjs > 10)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "interpolateHistoND" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} 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_interpolateHistoND__SWIG_20(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
unsigned int 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 ;
unsigned int val11 ;
int ecode11 = 0 ;
float result;
if ((nobjs < 11) || (nobjs > 11)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "interpolateHistoND" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} 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_interpolateHistoND__SWIG_21(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
double arg11 ;
unsigned int 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 ;
unsigned int val12 ;
int ecode12 = 0 ;
float result;
if ((nobjs < 12) || (nobjs > 12)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
ecode12 = SWIG_AsVal_unsigned_SS_int(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "interpolateHistoND" "', argument " "12"" of type '" "unsigned int""'");
}
arg12 = static_cast< unsigned int >(val12);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::HistoAxis >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
} 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_interpolateHistoND__SWIG_22(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double *arg2 = (double *) 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 ;
float result;
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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,(double const *)arg2,arg3,arg4);
} 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_interpolateHistoND__SWIG_23(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
float result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,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_interpolateHistoND__SWIG_24(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
float result;
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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4);
} 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_interpolateHistoND__SWIG_25(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5);
} 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_interpolateHistoND__SWIG_26(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
unsigned int 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 ;
unsigned int val6 ;
int ecode6 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6);
} 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_interpolateHistoND__SWIG_27(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
unsigned int 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 ;
unsigned int val7 ;
int ecode7 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7);
} 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_interpolateHistoND__SWIG_28(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
unsigned int 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 ;
unsigned int val8 ;
int ecode8 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "interpolateHistoND" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} 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_interpolateHistoND__SWIG_29(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
unsigned int 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 ;
unsigned int val9 ;
int ecode9 = 0 ;
float result;
if ((nobjs < 9) || (nobjs > 9)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "interpolateHistoND" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} 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_interpolateHistoND__SWIG_30(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
unsigned int 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 ;
unsigned int val10 ;
int ecode10 = 0 ;
float result;
if ((nobjs < 10) || (nobjs > 10)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "interpolateHistoND" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} 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_interpolateHistoND__SWIG_31(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
unsigned int 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 ;
unsigned int val11 ;
int ecode11 = 0 ;
float result;
if ((nobjs < 11) || (nobjs > 11)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "interpolateHistoND" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} 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_interpolateHistoND__SWIG_32(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
double arg11 ;
unsigned int 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 ;
unsigned int val12 ;
int ecode12 = 0 ;
float result;
if ((nobjs < 12) || (nobjs > 12)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
ecode12 = SWIG_AsVal_unsigned_SS_int(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "interpolateHistoND" "', argument " "12"" of type '" "unsigned int""'");
}
arg12 = static_cast< unsigned int >(val12);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::NUHistoAxis >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
} 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_interpolateHistoND__SWIG_33(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double *arg2 = (double *) 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 ;
float result;
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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,(double const *)arg2,arg3,arg4);
} 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_interpolateHistoND__SWIG_34(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
float result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,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_interpolateHistoND__SWIG_35(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
float result;
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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4);
} 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_interpolateHistoND__SWIG_36(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5);
} 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_interpolateHistoND__SWIG_37(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
unsigned int 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 ;
unsigned int val6 ;
int ecode6 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6);
} 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_interpolateHistoND__SWIG_38(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
unsigned int 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 ;
unsigned int val7 ;
int ecode7 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7);
} 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_interpolateHistoND__SWIG_39(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
unsigned int 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 ;
unsigned int val8 ;
int ecode8 = 0 ;
float 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "interpolateHistoND" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} 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_interpolateHistoND__SWIG_40(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
unsigned int 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 ;
unsigned int val9 ;
int ecode9 = 0 ;
float result;
if ((nobjs < 9) || (nobjs > 9)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "interpolateHistoND" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} 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_interpolateHistoND__SWIG_41(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
unsigned int 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 ;
unsigned int val10 ;
int ecode10 = 0 ;
float result;
if ((nobjs < 10) || (nobjs > 10)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "interpolateHistoND" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} 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_interpolateHistoND__SWIG_42(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
unsigned int 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 ;
unsigned int val11 ;
int ecode11 = 0 ;
float result;
if ((nobjs < 11) || (nobjs > 11)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "interpolateHistoND" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} 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_interpolateHistoND__SWIG_43(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
double arg11 ;
unsigned int 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 ;
unsigned int val12 ;
int ecode12 = 0 ;
float result;
if ((nobjs < 12) || (nobjs > 12)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
ecode12 = SWIG_AsVal_unsigned_SS_int(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "interpolateHistoND" "', argument " "12"" of type '" "unsigned int""'");
}
arg12 = static_cast< unsigned int >(val12);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< float,npstat::DualHistoAxis >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
} 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_interpolateHistoND__SWIG_44(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double *arg2 = (double *) 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__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,(double 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_interpolateHistoND__SWIG_45(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 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__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*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_interpolateHistoND__SWIG_46(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double 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__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*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_interpolateHistoND__SWIG_47(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*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_interpolateHistoND__SWIG_48(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
unsigned int 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 ;
unsigned int val6 ;
int ecode6 = 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,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_interpolateHistoND__SWIG_49(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
unsigned int 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 ;
unsigned int val7 ;
int ecode7 = 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7);
} 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_interpolateHistoND__SWIG_50(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
unsigned int 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 ;
unsigned int val8 ;
int ecode8 = 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "interpolateHistoND" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} 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_interpolateHistoND__SWIG_51(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
unsigned int 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 ;
unsigned int val9 ;
int ecode9 = 0 ;
double result;
if ((nobjs < 9) || (nobjs > 9)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "interpolateHistoND" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,arg2,arg3,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));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_interpolateHistoND__SWIG_52(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
unsigned int 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 ;
unsigned int val10 ;
int ecode10 = 0 ;
double result;
if ((nobjs < 10) || (nobjs > 10)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "interpolateHistoND" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,arg2,arg3,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));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_interpolateHistoND__SWIG_53(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
unsigned int 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 ;
unsigned int val11 ;
int ecode11 = 0 ;
double result;
if ((nobjs < 11) || (nobjs > 11)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "interpolateHistoND" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,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_interpolateHistoND__SWIG_54(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
double arg11 ;
unsigned int 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 ;
unsigned int val12 ;
int ecode12 = 0 ;
double result;
if ((nobjs < 12) || (nobjs > 12)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
ecode12 = SWIG_AsVal_unsigned_SS_int(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "interpolateHistoND" "', argument " "12"" of type '" "unsigned int""'");
}
arg12 = static_cast< unsigned int >(val12);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::HistoAxis >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,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_interpolateHistoND__SWIG_55(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double *arg2 = (double *) 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__HistoNDT_double_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,(double 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_interpolateHistoND__SWIG_56(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 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__HistoNDT_double_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*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_interpolateHistoND__SWIG_57(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double 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__HistoNDT_double_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*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_interpolateHistoND__SWIG_58(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*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_interpolateHistoND__SWIG_59(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
unsigned int 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 ;
unsigned int val6 ;
int ecode6 = 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,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_interpolateHistoND__SWIG_60(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
unsigned int 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 ;
unsigned int val7 ;
int ecode7 = 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7);
} 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_interpolateHistoND__SWIG_61(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
unsigned int 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 ;
unsigned int val8 ;
int ecode8 = 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "interpolateHistoND" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} 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_interpolateHistoND__SWIG_62(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
unsigned int 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 ;
unsigned int val9 ;
int ecode9 = 0 ;
double result;
if ((nobjs < 9) || (nobjs > 9)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "interpolateHistoND" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,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));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_interpolateHistoND__SWIG_63(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
unsigned int 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 ;
unsigned int val10 ;
int ecode10 = 0 ;
double result;
if ((nobjs < 10) || (nobjs > 10)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "interpolateHistoND" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,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));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_interpolateHistoND__SWIG_64(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
unsigned int 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 ;
unsigned int val11 ;
int ecode11 = 0 ;
double result;
if ((nobjs < 11) || (nobjs > 11)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "interpolateHistoND" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,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_interpolateHistoND__SWIG_65(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
double arg11 ;
unsigned int 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 ;
unsigned int val12 ;
int ecode12 = 0 ;
double result;
if ((nobjs < 12) || (nobjs > 12)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
ecode12 = SWIG_AsVal_unsigned_SS_int(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "interpolateHistoND" "', argument " "12"" of type '" "unsigned int""'");
}
arg12 = static_cast< unsigned int >(val12);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::NUHistoAxis >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,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_interpolateHistoND__SWIG_66(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double *arg2 = (double *) 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__HistoNDT_double_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,(double 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_interpolateHistoND__SWIG_67(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 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__HistoNDT_double_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*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_interpolateHistoND__SWIG_68(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double 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__HistoNDT_double_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*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_interpolateHistoND__SWIG_69(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*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_interpolateHistoND__SWIG_70(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
unsigned int 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 ;
unsigned int val6 ;
int ecode6 = 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,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_interpolateHistoND__SWIG_71(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
unsigned int 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 ;
unsigned int val7 ;
int ecode7 = 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7);
} 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_interpolateHistoND__SWIG_72(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
unsigned int 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 ;
unsigned int val8 ;
int ecode8 = 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "interpolateHistoND" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} 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_interpolateHistoND__SWIG_73(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
unsigned int 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 ;
unsigned int val9 ;
int ecode9 = 0 ;
double result;
if ((nobjs < 9) || (nobjs > 9)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "interpolateHistoND" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,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));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_interpolateHistoND__SWIG_74(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
unsigned int 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 ;
unsigned int val10 ;
int ecode10 = 0 ;
double result;
if ((nobjs < 10) || (nobjs > 10)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "interpolateHistoND" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,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));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_interpolateHistoND__SWIG_75(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
unsigned int 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 ;
unsigned int val11 ;
int ecode11 = 0 ;
double result;
if ((nobjs < 11) || (nobjs > 11)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "interpolateHistoND" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,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_interpolateHistoND__SWIG_76(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
double arg11 ;
unsigned int 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 ;
unsigned int val12 ;
int ecode12 = 0 ;
double result;
if ((nobjs < 12) || (nobjs > 12)) 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 '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "interpolateHistoND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', 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 '" "interpolateHistoND" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
ecode12 = SWIG_AsVal_unsigned_SS_int(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "interpolateHistoND" "', argument " "12"" of type '" "unsigned int""'");
}
arg12 = static_cast< unsigned int >(val12);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR interpolateHistoND< double,npstat::DualHistoAxis >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,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_interpolateHistoND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[13] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "interpolateHistoND", 0, 12, argv))) SWIG_fail;
--argc;
if (argc == 3) {
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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_12(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_23(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_34(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_45(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_56(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_67(self, argc, argv);
}
}
}
}
if (argc == 4) {
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) {
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_33(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_11(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
{
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_35(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_44(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_22(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
{
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_46(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_55(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
{
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_13(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
{
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_57(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_66(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
{
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_24(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
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) {
{
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_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_68(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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_36(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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_58(self, argc, argv);
}
}
}
}
}
}
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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_47(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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_25(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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_14(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) {
{
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) {
return _wrap_interpolateHistoND__SWIG_69(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) {
{
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_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_59(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) {
{
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_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__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) {
{
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_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_37(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) {
{
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_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_15(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) {
{
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_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_48(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) {
{
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_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_70(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) {
{
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_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_27(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) {
{
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_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_16(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) {
{
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_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_49(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) {
{
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_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_38(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) {
{
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_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_60(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) {
{
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_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_71(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) {
{
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_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_50(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) {
{
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_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_17(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) {
{
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_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_28(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) {
{
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_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_61(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) {
{
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_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_39(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) {
{
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_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_72(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
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) {
{
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_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_40(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 9) {
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) {
{
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_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_29(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 9) {
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) {
{
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_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_62(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 9) {
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) {
{
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_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_51(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 9) {
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) {
{
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_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_18(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 9) {
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) {
{
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_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_73(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
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) {
{
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_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_52(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
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) {
{
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_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_63(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
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) {
{
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_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_41(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
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) {
{
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_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_19(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
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) {
{
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_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_30(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
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) {
{
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_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_74(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
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) {
{
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_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_64(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
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) {
{
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_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_20(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
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) {
{
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_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_42(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
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) {
{
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_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_53(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
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) {
{
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_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_31(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
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) {
{
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_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_75(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
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) {
{
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_AsVal_unsigned_SS_int(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_21(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
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) {
{
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_AsVal_unsigned_SS_int(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_54(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
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) {
{
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_AsVal_unsigned_SS_int(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_32(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
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) {
{
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_AsVal_unsigned_SS_int(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_43(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
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) {
{
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_AsVal_unsigned_SS_int(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_65(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
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) {
{
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_AsVal_unsigned_SS_int(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_interpolateHistoND__SWIG_76(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'interpolateHistoND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double const *,unsigned int,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::HistoAxis >(npstat::HistoND< float,npstat::HistoAxis > const &,double,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double const *,unsigned int,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::NUHistoAxis >(npstat::HistoND< float,npstat::NUHistoAxis > const &,double,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double const *,unsigned int,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< float,npstat::DualHistoAxis >(npstat::HistoND< float,npstat::DualHistoAxis > const &,double,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double const *,unsigned int,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::HistoAxis >(npstat::HistoND< double,npstat::HistoAxis > const &,double,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double const *,unsigned int,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::NUHistoAxis >(npstat::HistoND< double,npstat::NUHistoAxis > const &,double,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double const *,unsigned int,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double,double,double,double,double,double,double,double,double,unsigned int)\n"
" npstat::interpolateHistoND< double,npstat::DualHistoAxis >(npstat::HistoND< double,npstat::DualHistoAxis > const &,double,double,double,double,double,double,double,double,double,double,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_RatioOfNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
npstat::RatioOfNormals *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_RatioOfNormals", 5, 5, 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_RatioOfNormals" "', 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_RatioOfNormals" "', 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_RatioOfNormals" "', 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_RatioOfNormals" "', 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 '" "new_RatioOfNormals" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (npstat::RatioOfNormals *)new npstat::RatioOfNormals(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__RatioOfNormals, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_RatioOfNormals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RatioOfNormals *arg1 = (npstat::RatioOfNormals *) 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__RatioOfNormals, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RatioOfNormals" "', argument " "1"" of type '" "npstat::RatioOfNormals *""'");
}
arg1 = reinterpret_cast< npstat::RatioOfNormals * >(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_RatioOfNormals_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RatioOfNormals *arg1 = (npstat::RatioOfNormals *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::RatioOfNormals *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RatioOfNormals, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RatioOfNormals_clone" "', argument " "1"" of type '" "npstat::RatioOfNormals const *""'");
}
arg1 = reinterpret_cast< npstat::RatioOfNormals * >(argp1);
{
try {
result = (npstat::RatioOfNormals *)((npstat::RatioOfNormals const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__RatioOfNormals, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RatioOfNormals_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RatioOfNormals *arg1 = (npstat::RatioOfNormals *) 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, "RatioOfNormals_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RatioOfNormals, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RatioOfNormals_density" "', argument " "1"" of type '" "npstat::RatioOfNormals const *""'");
}
arg1 = reinterpret_cast< npstat::RatioOfNormals * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RatioOfNormals_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::RatioOfNormals 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_RatioOfNormals_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RatioOfNormals *arg1 = (npstat::RatioOfNormals *) 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, "RatioOfNormals_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RatioOfNormals, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RatioOfNormals_cdf" "', argument " "1"" of type '" "npstat::RatioOfNormals const *""'");
}
arg1 = reinterpret_cast< npstat::RatioOfNormals * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RatioOfNormals_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::RatioOfNormals 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_RatioOfNormals_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RatioOfNormals *arg1 = (npstat::RatioOfNormals *) 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, "RatioOfNormals_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RatioOfNormals, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RatioOfNormals_exceedance" "', argument " "1"" of type '" "npstat::RatioOfNormals const *""'");
}
arg1 = reinterpret_cast< npstat::RatioOfNormals * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RatioOfNormals_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::RatioOfNormals 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_RatioOfNormals_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RatioOfNormals *arg1 = (npstat::RatioOfNormals *) 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, "RatioOfNormals_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RatioOfNormals, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RatioOfNormals_quantile" "', argument " "1"" of type '" "npstat::RatioOfNormals const *""'");
}
arg1 = reinterpret_cast< npstat::RatioOfNormals * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RatioOfNormals_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::RatioOfNormals 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_RatioOfNormals_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RatioOfNormals *arg1 = (npstat::RatioOfNormals *) 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__RatioOfNormals, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RatioOfNormals_classId" "', argument " "1"" of type '" "npstat::RatioOfNormals const *""'");
}
arg1 = reinterpret_cast< npstat::RatioOfNormals * >(argp1);
{
try {
result = ((npstat::RatioOfNormals 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_RatioOfNormals_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RatioOfNormals *arg1 = (npstat::RatioOfNormals *) 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, "RatioOfNormals_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RatioOfNormals, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RatioOfNormals_write" "', argument " "1"" of type '" "npstat::RatioOfNormals const *""'");
}
arg1 = reinterpret_cast< npstat::RatioOfNormals * >(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 '" "RatioOfNormals_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RatioOfNormals_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::RatioOfNormals 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_RatioOfNormals_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "RatioOfNormals_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::RatioOfNormals::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_RatioOfNormals_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "RatioOfNormals_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::RatioOfNormals::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_RatioOfNormals_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::RatioOfNormals *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "RatioOfNormals_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 '" "RatioOfNormals_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RatioOfNormals_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 '" "RatioOfNormals_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RatioOfNormals_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::RatioOfNormals *)npstat::RatioOfNormals::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__RatioOfNormals, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *RatioOfNormals_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__RatioOfNormals, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *RatioOfNormals_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocScaleTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocScaleTransform1D *arg1 = (npstat::LocScaleTransform1D *) 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__LocScaleTransform1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocScaleTransform1D" "', argument " "1"" of type '" "npstat::LocScaleTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::LocScaleTransform1D * >(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_LocScaleTransform1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocScaleTransform1D *arg1 = (npstat::LocScaleTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LocScaleTransform1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocScaleTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocScaleTransform1D_clone" "', argument " "1"" of type '" "npstat::LocScaleTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocScaleTransform1D * >(argp1);
{
try {
result = (npstat::LocScaleTransform1D *)((npstat::LocScaleTransform1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocScaleTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocScaleTransform1D_transformBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocScaleTransform1D *arg1 = (npstat::LocScaleTransform1D *) 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, "LocScaleTransform1D_transformBack", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocScaleTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocScaleTransform1D_transformBack" "', argument " "1"" of type '" "npstat::LocScaleTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocScaleTransform1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocScaleTransform1D_transformBack" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LocScaleTransform1D 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_LocScaleTransform1D_isIncreasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocScaleTransform1D *arg1 = (npstat::LocScaleTransform1D *) 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__LocScaleTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocScaleTransform1D_isIncreasing" "', argument " "1"" of type '" "npstat::LocScaleTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocScaleTransform1D * >(argp1);
{
try {
result = (bool)((npstat::LocScaleTransform1D 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_LocScaleTransform1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocScaleTransform1D *arg1 = (npstat::LocScaleTransform1D *) 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__LocScaleTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocScaleTransform1D_classId" "', argument " "1"" of type '" "npstat::LocScaleTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocScaleTransform1D * >(argp1);
{
try {
result = ((npstat::LocScaleTransform1D 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_LocScaleTransform1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocScaleTransform1D *arg1 = (npstat::LocScaleTransform1D *) 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, "LocScaleTransform1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocScaleTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocScaleTransform1D_write" "', argument " "1"" of type '" "npstat::LocScaleTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LocScaleTransform1D * >(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 '" "LocScaleTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocScaleTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::LocScaleTransform1D 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_LocScaleTransform1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LocScaleTransform1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::LocScaleTransform1D::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_LocScaleTransform1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "LocScaleTransform1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::LocScaleTransform1D::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_LocScaleTransform1D_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::LocScaleTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LocScaleTransform1D_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 '" "LocScaleTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocScaleTransform1D_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 '" "LocScaleTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocScaleTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::LocScaleTransform1D *)npstat::LocScaleTransform1D::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__LocScaleTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LocScaleTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocScaleTransform1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_LocScaleTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocScaleTransform1D *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::LocScaleTransform1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_LocScaleTransform1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LocScaleTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_LocScaleTransform1D" "', argument " "1"" of type '" "npstat::LocScaleTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_LocScaleTransform1D" "', argument " "1"" of type '" "npstat::LocScaleTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::LocScaleTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_LocScaleTransform1D" "', 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_LocScaleTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::LocScaleTransform1D > *)new gs::ArchiveRecord< npstat::LocScaleTransform1D >((npstat::LocScaleTransform1D 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__LocScaleTransform1D_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_LocScaleTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::LocScaleTransform1D > *arg1 = (gs::ArchiveRecord< npstat::LocScaleTransform1D > *) 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__LocScaleTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_LocScaleTransform1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::LocScaleTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::LocScaleTransform1D > * >(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_LocScaleTransform1D_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__LocScaleTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_LocScaleTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_150(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocScaleTransform1D *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::LocScaleTransform1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LocScaleTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LocScaleTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LocScaleTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::LocScaleTransform1D * >(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::LocScaleTransform1D >((npstat::LocScaleTransform1D 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::LocScaleTransform1D >(static_cast< const gs::ArchiveRecord< npstat::LocScaleTransform1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__LocScaleTransform1D_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_LocScaleTransform1D__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::LocScaleTransform1D > *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_LocScaleTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LocScaleTransform1D" "', 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_LocScaleTransform1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::LocScaleTransform1D > *)new gs::Reference< npstat::LocScaleTransform1D >(*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__LocScaleTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LocScaleTransform1D__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::LocScaleTransform1D > *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_LocScaleTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LocScaleTransform1D" "', 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_LocScaleTransform1D" "', 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_LocScaleTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::LocScaleTransform1D > *)new gs::Reference< npstat::LocScaleTransform1D >(*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__LocScaleTransform1D_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_LocScaleTransform1D__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::LocScaleTransform1D > *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_LocScaleTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LocScaleTransform1D" "', 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_LocScaleTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LocScaleTransform1D" "', 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_LocScaleTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LocScaleTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::LocScaleTransform1D > *)new gs::Reference< npstat::LocScaleTransform1D >(*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__LocScaleTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LocScaleTransform1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_LocScaleTransform1D", 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_LocScaleTransform1D__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_LocScaleTransform1D__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_LocScaleTransform1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_LocScaleTransform1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::LocScaleTransform1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::LocScaleTransform1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::LocScaleTransform1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_LocScaleTransform1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LocScaleTransform1D > *arg1 = (gs::Reference< npstat::LocScaleTransform1D > *) 0 ;
unsigned long arg2 ;
npstat::LocScaleTransform1D *arg3 = (npstat::LocScaleTransform1D *) 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_LocScaleTransform1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LocScaleTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LocScaleTransform1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::LocScaleTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LocScaleTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LocScaleTransform1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__LocScaleTransform1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_LocScaleTransform1D_restore" "', argument " "3"" of type '" "npstat::LocScaleTransform1D *""'");
}
arg3 = reinterpret_cast< npstat::LocScaleTransform1D * >(argp3);
{
try {
((gs::Reference< npstat::LocScaleTransform1D > 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_LocScaleTransform1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LocScaleTransform1D > *arg1 = (gs::Reference< npstat::LocScaleTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::LocScaleTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LocScaleTransform1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LocScaleTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LocScaleTransform1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::LocScaleTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LocScaleTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LocScaleTransform1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::LocScaleTransform1D *)gs_Reference_Sl_npstat_LocScaleTransform1D_Sg__retrieve((gs::Reference< npstat::LocScaleTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocScaleTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LocScaleTransform1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LocScaleTransform1D > *arg1 = (gs::Reference< npstat::LocScaleTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::LocScaleTransform1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_LocScaleTransform1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LocScaleTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LocScaleTransform1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::LocScaleTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LocScaleTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LocScaleTransform1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_LocScaleTransform1D_Sg__getValue((gs::Reference< npstat::LocScaleTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LocScaleTransform1D(static_cast< const npstat::LocScaleTransform1D& >(result))), SWIGTYPE_p_npstat__LocScaleTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_LocScaleTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LocScaleTransform1D > *arg1 = (gs::Reference< npstat::LocScaleTransform1D > *) 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__LocScaleTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_LocScaleTransform1D" "', argument " "1"" of type '" "gs::Reference< npstat::LocScaleTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LocScaleTransform1D > * >(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_LocScaleTransform1D_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__LocScaleTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_LocScaleTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DistributionMixND__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::DistributionMixND *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_DistributionMixND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
{
try {
result = (npstat::DistributionMixND *)new npstat::DistributionMixND(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DistributionMixND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DistributionMixND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::DistributionMixND *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DistributionMixND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DistributionMixND" "', argument " "1"" of type '" "npstat::DistributionMixND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DistributionMixND" "', argument " "1"" of type '" "npstat::DistributionMixND const &""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(argp1);
{
try {
result = (npstat::DistributionMixND *)new npstat::DistributionMixND((npstat::DistributionMixND const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DistributionMixND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DistributionMixND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DistributionMixND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DistributionMixND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DistributionMixND__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_DistributionMixND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DistributionMixND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::DistributionMixND::DistributionMixND(unsigned int)\n"
" npstat::DistributionMixND::DistributionMixND(npstat::DistributionMixND const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DistributionMixND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::DistributionMixND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_clone" "', argument " "1"" of type '" "npstat::DistributionMixND const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(argp1);
{
try {
result = (npstat::DistributionMixND *)((npstat::DistributionMixND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DistributionMixND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DistributionMixND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 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__DistributionMixND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DistributionMixND" "', argument " "1"" of type '" "npstat::DistributionMixND *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(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_DistributionMixND_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 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] ;
npstat::DistributionMixND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DistributionMixND_add", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_add" "', argument " "1"" of type '" "npstat::DistributionMixND *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(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 '" "DistributionMixND_add" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DistributionMixND_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 '" "DistributionMixND_add" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::DistributionMixND *) &(arg1)->add((npstat::AbsDistributionND const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DistributionMixND, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DistributionMixND_setWeights(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 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, "DistributionMixND_setWeights", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_setWeights" "', argument " "1"" of type '" "npstat::DistributionMixND *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(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)->setWeights((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_DistributionMixND_nComponents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 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__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_nComponents" "', argument " "1"" of type '" "npstat::DistributionMixND const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(argp1);
{
try {
result = (unsigned int)((npstat::DistributionMixND const *)arg1)->nComponents();
} 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_DistributionMixND_getComponent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsDistributionND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DistributionMixND_getComponent", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_getComponent" "', argument " "1"" of type '" "npstat::DistributionMixND const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DistributionMixND_getComponent" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::AbsDistributionND *) &((npstat::DistributionMixND const *)arg1)->getComponent(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_DistributionMixND_getWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 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, "DistributionMixND_getWeight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_getWeight" "', argument " "1"" of type '" "npstat::DistributionMixND const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DistributionMixND_getWeight" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::DistributionMixND const *)arg1)->getWeight(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_DistributionMixND_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 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, "DistributionMixND_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_density" "', argument " "1"" of type '" "npstat::DistributionMixND const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(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::DistributionMixND 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_DistributionMixND_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 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, "DistributionMixND_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_unitMap" "', argument " "1"" of type '" "npstat::DistributionMixND const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(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 '" "DistributionMixND_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 '" "DistributionMixND_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 '" "DistributionMixND_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::DistributionMixND 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_DistributionMixND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 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__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::DistributionMixND const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(argp1);
{
try {
result = (bool)((npstat::DistributionMixND 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_DistributionMixND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 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__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_classId" "', argument " "1"" of type '" "npstat::DistributionMixND const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(argp1);
{
try {
result = ((npstat::DistributionMixND 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_DistributionMixND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *arg1 = (npstat::DistributionMixND *) 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, "DistributionMixND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DistributionMixND_write" "', argument " "1"" of type '" "npstat::DistributionMixND const *""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(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 '" "DistributionMixND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DistributionMixND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::DistributionMixND 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_DistributionMixND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DistributionMixND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::DistributionMixND::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_DistributionMixND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DistributionMixND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::DistributionMixND::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_DistributionMixND_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::DistributionMixND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DistributionMixND_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 '" "DistributionMixND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DistributionMixND_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 '" "DistributionMixND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DistributionMixND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::DistributionMixND *)npstat::DistributionMixND::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__DistributionMixND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DistributionMixND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DistributionMixND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DistributionMixND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_DistributionMixND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DistributionMixND *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::DistributionMixND > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_DistributionMixND", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DistributionMixND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_DistributionMixND" "', argument " "1"" of type '" "npstat::DistributionMixND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_DistributionMixND" "', argument " "1"" of type '" "npstat::DistributionMixND const &""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_DistributionMixND" "', 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_DistributionMixND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::DistributionMixND > *)new gs::ArchiveRecord< npstat::DistributionMixND >((npstat::DistributionMixND 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__DistributionMixND_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_DistributionMixND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::DistributionMixND > *arg1 = (gs::ArchiveRecord< npstat::DistributionMixND > *) 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__DistributionMixND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_DistributionMixND" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::DistributionMixND > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::DistributionMixND > * >(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_DistributionMixND_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__DistributionMixND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_DistributionMixND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_151(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DistributionMixND *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::DistributionMixND > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DistributionMixND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::DistributionMixND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::DistributionMixND const &""'");
}
arg1 = reinterpret_cast< npstat::DistributionMixND * >(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::DistributionMixND >((npstat::DistributionMixND 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::DistributionMixND >(static_cast< const gs::ArchiveRecord< npstat::DistributionMixND >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__DistributionMixND_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_DistributionMixND__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::DistributionMixND > *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_DistributionMixND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DistributionMixND" "', 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_DistributionMixND" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::DistributionMixND > *)new gs::Reference< npstat::DistributionMixND >(*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__DistributionMixND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DistributionMixND__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::DistributionMixND > *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_DistributionMixND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DistributionMixND" "', 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_DistributionMixND" "', 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_DistributionMixND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::DistributionMixND > *)new gs::Reference< npstat::DistributionMixND >(*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__DistributionMixND_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_DistributionMixND__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::DistributionMixND > *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_DistributionMixND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DistributionMixND" "', 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_DistributionMixND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DistributionMixND" "', 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_DistributionMixND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DistributionMixND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::DistributionMixND > *)new gs::Reference< npstat::DistributionMixND >(*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__DistributionMixND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DistributionMixND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_DistributionMixND", 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_DistributionMixND__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_DistributionMixND__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_DistributionMixND__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_DistributionMixND'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::DistributionMixND >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::DistributionMixND >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::DistributionMixND >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_DistributionMixND_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DistributionMixND > *arg1 = (gs::Reference< npstat::DistributionMixND > *) 0 ;
unsigned long arg2 ;
npstat::DistributionMixND *arg3 = (npstat::DistributionMixND *) 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_DistributionMixND_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DistributionMixND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DistributionMixND_restore" "', argument " "1"" of type '" "gs::Reference< npstat::DistributionMixND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DistributionMixND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DistributionMixND_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__DistributionMixND, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_DistributionMixND_restore" "', argument " "3"" of type '" "npstat::DistributionMixND *""'");
}
arg3 = reinterpret_cast< npstat::DistributionMixND * >(argp3);
{
try {
((gs::Reference< npstat::DistributionMixND > 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_DistributionMixND_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DistributionMixND > *arg1 = (gs::Reference< npstat::DistributionMixND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::DistributionMixND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_DistributionMixND_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DistributionMixND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DistributionMixND_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::DistributionMixND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DistributionMixND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DistributionMixND_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::DistributionMixND *)gs_Reference_Sl_npstat_DistributionMixND_Sg__retrieve((gs::Reference< npstat::DistributionMixND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DistributionMixND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_DistributionMixND_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DistributionMixND > *arg1 = (gs::Reference< npstat::DistributionMixND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::DistributionMixND > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_DistributionMixND_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__DistributionMixND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DistributionMixND_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::DistributionMixND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DistributionMixND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DistributionMixND_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_DistributionMixND_Sg__getValue((gs::Reference< npstat::DistributionMixND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::DistributionMixND(static_cast< const npstat::DistributionMixND& >(result))), SWIGTYPE_p_npstat__DistributionMixND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_DistributionMixND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::DistributionMixND > *arg1 = (gs::Reference< npstat::DistributionMixND > *) 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__DistributionMixND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_DistributionMixND" "', argument " "1"" of type '" "gs::Reference< npstat::DistributionMixND > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::DistributionMixND > * >(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_DistributionMixND_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__DistributionMixND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_DistributionMixND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_scanMultivariateDensityAsWeight2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionND *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
PyArrayObject *array6 = NULL ;
int is_new_object6 = 0 ;
PyObject *swig_obj[4] ;
npstat::ArrayND< double,1U,10U > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "scanMultivariateDensityAsWeight2", 4, 4, swig_obj)) 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 '" "scanMultivariateDensityAsWeight2" "', argument " "1"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "scanMultivariateDensityAsWeight2" "', 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_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);
}
{
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);
}
{
npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
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);
}
{
try {
result = (npstat::ArrayND< double,1U,10U > *)npstat::scanMultivariateDensityAsWeight2((npstat::AbsDistributionND const &)*arg1,(unsigned int const *)arg2,arg3,(double const *)arg4,arg5,(double const *)arg6,arg7);
} 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 );
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthCVPseudoLogli1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthCVPseudoLogli1D< unsigned char,double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_UCharBandwidthCVPseudoLogli1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthCVPseudoLogli1D< unsigned char,double > *)new npstat::BandwidthCVPseudoLogli1D< unsigned char,double >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_unsigned_char_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthCVPseudoLogli1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< unsigned char,double > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVPseudoLogli1D< unsigned char,double > *)new npstat::BandwidthCVPseudoLogli1D< unsigned char,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_unsigned_char_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthCVPseudoLogli1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_UCharBandwidthCVPseudoLogli1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_UCharBandwidthCVPseudoLogli1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_UCharBandwidthCVPseudoLogli1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_UCharBandwidthCVPseudoLogli1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogli1D< unsigned char,double >::BandwidthCVPseudoLogli1D(double)\n"
" npstat::BandwidthCVPseudoLogli1D< unsigned char,double >::BandwidthCVPseudoLogli1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_UCharBandwidthCVPseudoLogli1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< unsigned char,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< 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__BandwidthCVPseudoLogli1DT_unsigned_char_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharBandwidthCVPseudoLogli1D" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< unsigned char,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< 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_UCharBandwidthCVPseudoLogli1D_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< unsigned char,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< unsigned char,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__BandwidthCVPseudoLogli1DT_unsigned_char_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthCVPseudoLogli1D_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< unsigned char,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< unsigned char,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogli1D< unsigned char,double > const *)arg1)->getNonZeroCount();
} 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_UCharBandwidthCVPseudoLogli1D_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< unsigned char,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< unsigned char,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__BandwidthCVPseudoLogli1DT_unsigned_char_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthCVPseudoLogli1D_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< unsigned char,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< unsigned char,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogli1D< unsigned char,double > const *)arg1)->getRenormCount();
} 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 *UCharBandwidthCVPseudoLogli1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_unsigned_char_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharBandwidthCVPseudoLogli1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthCVPseudoLogli1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthCVPseudoLogli1D< int,double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_IntBandwidthCVPseudoLogli1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthCVPseudoLogli1D< int,double > *)new npstat::BandwidthCVPseudoLogli1D< int,double >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_int_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthCVPseudoLogli1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< int,double > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVPseudoLogli1D< int,double > *)new npstat::BandwidthCVPseudoLogli1D< int,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_int_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthCVPseudoLogli1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_IntBandwidthCVPseudoLogli1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_IntBandwidthCVPseudoLogli1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_IntBandwidthCVPseudoLogli1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_IntBandwidthCVPseudoLogli1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogli1D< int,double >::BandwidthCVPseudoLogli1D(double)\n"
" npstat::BandwidthCVPseudoLogli1D< int,double >::BandwidthCVPseudoLogli1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_IntBandwidthCVPseudoLogli1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< int,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< 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__BandwidthCVPseudoLogli1DT_int_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntBandwidthCVPseudoLogli1D" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< int,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< 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_IntBandwidthCVPseudoLogli1D_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< int,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< int,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__BandwidthCVPseudoLogli1DT_int_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthCVPseudoLogli1D_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< int,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< int,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogli1D< int,double > const *)arg1)->getNonZeroCount();
} 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_IntBandwidthCVPseudoLogli1D_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< int,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< int,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__BandwidthCVPseudoLogli1DT_int_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthCVPseudoLogli1D_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< int,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< int,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogli1D< int,double > const *)arg1)->getRenormCount();
} 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 *IntBandwidthCVPseudoLogli1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_int_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntBandwidthCVPseudoLogli1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthCVPseudoLogli1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthCVPseudoLogli1D< long,double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LongBandwidthCVPseudoLogli1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthCVPseudoLogli1D< long,double > *)new npstat::BandwidthCVPseudoLogli1D< long,double >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_long_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthCVPseudoLogli1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< long,double > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVPseudoLogli1D< long,double > *)new npstat::BandwidthCVPseudoLogli1D< long,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_long_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthCVPseudoLogli1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LongBandwidthCVPseudoLogli1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_LongBandwidthCVPseudoLogli1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_LongBandwidthCVPseudoLogli1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LongBandwidthCVPseudoLogli1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogli1D< long,double >::BandwidthCVPseudoLogli1D(double)\n"
" npstat::BandwidthCVPseudoLogli1D< long,double >::BandwidthCVPseudoLogli1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_LongBandwidthCVPseudoLogli1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< long,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< 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__BandwidthCVPseudoLogli1DT_long_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongBandwidthCVPseudoLogli1D" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< long,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< 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_LongBandwidthCVPseudoLogli1D_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< long,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< long,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__BandwidthCVPseudoLogli1DT_long_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthCVPseudoLogli1D_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< long,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< long,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogli1D< long,double > const *)arg1)->getNonZeroCount();
} 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_LongBandwidthCVPseudoLogli1D_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< long,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< long,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__BandwidthCVPseudoLogli1DT_long_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthCVPseudoLogli1D_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< long,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< long,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogli1D< long,double > const *)arg1)->getRenormCount();
} 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 *LongBandwidthCVPseudoLogli1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_long_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongBandwidthCVPseudoLogli1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthCVPseudoLogli1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthCVPseudoLogli1D< float,double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FloatBandwidthCVPseudoLogli1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthCVPseudoLogli1D< float,double > *)new npstat::BandwidthCVPseudoLogli1D< float,double >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_float_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthCVPseudoLogli1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< float,double > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVPseudoLogli1D< float,double > *)new npstat::BandwidthCVPseudoLogli1D< float,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_float_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthCVPseudoLogli1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_FloatBandwidthCVPseudoLogli1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_FloatBandwidthCVPseudoLogli1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatBandwidthCVPseudoLogli1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FloatBandwidthCVPseudoLogli1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogli1D< float,double >::BandwidthCVPseudoLogli1D(double)\n"
" npstat::BandwidthCVPseudoLogli1D< float,double >::BandwidthCVPseudoLogli1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_FloatBandwidthCVPseudoLogli1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< float,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< 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__BandwidthCVPseudoLogli1DT_float_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatBandwidthCVPseudoLogli1D" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< float,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< 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_FloatBandwidthCVPseudoLogli1D_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< float,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< float,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__BandwidthCVPseudoLogli1DT_float_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthCVPseudoLogli1D_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< float,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< float,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogli1D< float,double > const *)arg1)->getNonZeroCount();
} 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_FloatBandwidthCVPseudoLogli1D_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< float,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< float,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__BandwidthCVPseudoLogli1DT_float_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthCVPseudoLogli1D_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< float,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< float,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogli1D< float,double > const *)arg1)->getRenormCount();
} 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 *FloatBandwidthCVPseudoLogli1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_float_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatBandwidthCVPseudoLogli1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthCVPseudoLogli1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthCVPseudoLogli1D< double,double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DoubleBandwidthCVPseudoLogli1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthCVPseudoLogli1D< double,double > *)new npstat::BandwidthCVPseudoLogli1D< double,double >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_double_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthCVPseudoLogli1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< double,double > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVPseudoLogli1D< double,double > *)new npstat::BandwidthCVPseudoLogli1D< double,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_double_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthCVPseudoLogli1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleBandwidthCVPseudoLogli1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_DoubleBandwidthCVPseudoLogli1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleBandwidthCVPseudoLogli1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleBandwidthCVPseudoLogli1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthCVPseudoLogli1D< double,double >::BandwidthCVPseudoLogli1D(double)\n"
" npstat::BandwidthCVPseudoLogli1D< double,double >::BandwidthCVPseudoLogli1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleBandwidthCVPseudoLogli1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< double,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< 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__BandwidthCVPseudoLogli1DT_double_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleBandwidthCVPseudoLogli1D" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< double,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< 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_DoubleBandwidthCVPseudoLogli1D_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< double,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< double,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__BandwidthCVPseudoLogli1DT_double_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthCVPseudoLogli1D_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< double,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogli1D< double,double > const *)arg1)->getNonZeroCount();
} 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_DoubleBandwidthCVPseudoLogli1D_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVPseudoLogli1D< double,double > *arg1 = (npstat::BandwidthCVPseudoLogli1D< double,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__BandwidthCVPseudoLogli1DT_double_double_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthCVPseudoLogli1D_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthCVPseudoLogli1D< double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVPseudoLogli1D< double,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthCVPseudoLogli1D< double,double > const *)arg1)->getRenormCount();
} 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 *DoubleBandwidthCVPseudoLogli1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVPseudoLogli1DT_double_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleBandwidthCVPseudoLogli1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthGCVPseudoLogli1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_UCharBandwidthGCVPseudoLogli1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > *)new npstat::BandwidthGCVPseudoLogli1D< unsigned char,double >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_unsigned_char_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthGCVPseudoLogli1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > *)new npstat::BandwidthGCVPseudoLogli1D< unsigned char,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_unsigned_char_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthGCVPseudoLogli1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_UCharBandwidthGCVPseudoLogli1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_UCharBandwidthGCVPseudoLogli1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_UCharBandwidthGCVPseudoLogli1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_UCharBandwidthGCVPseudoLogli1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogli1D< unsigned char,double >::BandwidthGCVPseudoLogli1D(double)\n"
" npstat::BandwidthGCVPseudoLogli1D< unsigned char,double >::BandwidthGCVPseudoLogli1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_UCharBandwidthGCVPseudoLogli1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< 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__BandwidthGCVPseudoLogli1DT_unsigned_char_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharBandwidthGCVPseudoLogli1D" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< 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_UCharBandwidthGCVPseudoLogli1D_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< unsigned char,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__BandwidthGCVPseudoLogli1DT_unsigned_char_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthGCVPseudoLogli1D_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > const *)arg1)->getNonZeroCount();
} 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_UCharBandwidthGCVPseudoLogli1D_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< unsigned char,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__BandwidthGCVPseudoLogli1DT_unsigned_char_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthGCVPseudoLogli1D_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogli1D< unsigned char,double > const *)arg1)->getRenormCount();
} 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 *UCharBandwidthGCVPseudoLogli1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_unsigned_char_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharBandwidthGCVPseudoLogli1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthGCVPseudoLogli1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthGCVPseudoLogli1D< int,double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_IntBandwidthGCVPseudoLogli1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthGCVPseudoLogli1D< int,double > *)new npstat::BandwidthGCVPseudoLogli1D< int,double >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_int_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthGCVPseudoLogli1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< int,double > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVPseudoLogli1D< int,double > *)new npstat::BandwidthGCVPseudoLogli1D< int,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_int_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthGCVPseudoLogli1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_IntBandwidthGCVPseudoLogli1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_IntBandwidthGCVPseudoLogli1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_IntBandwidthGCVPseudoLogli1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_IntBandwidthGCVPseudoLogli1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogli1D< int,double >::BandwidthGCVPseudoLogli1D(double)\n"
" npstat::BandwidthGCVPseudoLogli1D< int,double >::BandwidthGCVPseudoLogli1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_IntBandwidthGCVPseudoLogli1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< int,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< 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__BandwidthGCVPseudoLogli1DT_int_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntBandwidthGCVPseudoLogli1D" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< int,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< 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_IntBandwidthGCVPseudoLogli1D_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< int,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< int,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__BandwidthGCVPseudoLogli1DT_int_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthGCVPseudoLogli1D_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< int,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< int,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogli1D< int,double > const *)arg1)->getNonZeroCount();
} 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_IntBandwidthGCVPseudoLogli1D_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< int,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< int,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__BandwidthGCVPseudoLogli1DT_int_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthGCVPseudoLogli1D_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< int,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< int,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogli1D< int,double > const *)arg1)->getRenormCount();
} 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 *IntBandwidthGCVPseudoLogli1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_int_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntBandwidthGCVPseudoLogli1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthGCVPseudoLogli1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthGCVPseudoLogli1D< long,double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LongBandwidthGCVPseudoLogli1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthGCVPseudoLogli1D< long,double > *)new npstat::BandwidthGCVPseudoLogli1D< long,double >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthGCVPseudoLogli1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< long,double > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVPseudoLogli1D< long,double > *)new npstat::BandwidthGCVPseudoLogli1D< long,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_long_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthGCVPseudoLogli1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LongBandwidthGCVPseudoLogli1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_LongBandwidthGCVPseudoLogli1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_LongBandwidthGCVPseudoLogli1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LongBandwidthGCVPseudoLogli1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogli1D< long,double >::BandwidthGCVPseudoLogli1D(double)\n"
" npstat::BandwidthGCVPseudoLogli1D< long,double >::BandwidthGCVPseudoLogli1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_LongBandwidthGCVPseudoLogli1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< long,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< 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__BandwidthGCVPseudoLogli1DT_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongBandwidthGCVPseudoLogli1D" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< long,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< 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_LongBandwidthGCVPseudoLogli1D_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< long,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< long,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__BandwidthGCVPseudoLogli1DT_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthGCVPseudoLogli1D_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< long,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< long,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogli1D< long,double > const *)arg1)->getNonZeroCount();
} 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_LongBandwidthGCVPseudoLogli1D_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< long,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< long,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__BandwidthGCVPseudoLogli1DT_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthGCVPseudoLogli1D_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< long,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< long,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogli1D< long,double > const *)arg1)->getRenormCount();
} 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 *LongBandwidthGCVPseudoLogli1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongBandwidthGCVPseudoLogli1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthGCVPseudoLogli1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthGCVPseudoLogli1D< float,double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FloatBandwidthGCVPseudoLogli1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthGCVPseudoLogli1D< float,double > *)new npstat::BandwidthGCVPseudoLogli1D< float,double >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_float_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthGCVPseudoLogli1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< float,double > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVPseudoLogli1D< float,double > *)new npstat::BandwidthGCVPseudoLogli1D< float,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_float_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthGCVPseudoLogli1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_FloatBandwidthGCVPseudoLogli1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_FloatBandwidthGCVPseudoLogli1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatBandwidthGCVPseudoLogli1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FloatBandwidthGCVPseudoLogli1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogli1D< float,double >::BandwidthGCVPseudoLogli1D(double)\n"
" npstat::BandwidthGCVPseudoLogli1D< float,double >::BandwidthGCVPseudoLogli1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_FloatBandwidthGCVPseudoLogli1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< float,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< 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__BandwidthGCVPseudoLogli1DT_float_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatBandwidthGCVPseudoLogli1D" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< float,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< 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_FloatBandwidthGCVPseudoLogli1D_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< float,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< float,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__BandwidthGCVPseudoLogli1DT_float_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthGCVPseudoLogli1D_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< float,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< float,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogli1D< float,double > const *)arg1)->getNonZeroCount();
} 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_FloatBandwidthGCVPseudoLogli1D_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< float,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< float,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__BandwidthGCVPseudoLogli1DT_float_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthGCVPseudoLogli1D_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< float,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< float,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogli1D< float,double > const *)arg1)->getRenormCount();
} 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 *FloatBandwidthGCVPseudoLogli1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_float_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatBandwidthGCVPseudoLogli1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthGCVPseudoLogli1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthGCVPseudoLogli1D< double,double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DoubleBandwidthGCVPseudoLogli1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthGCVPseudoLogli1D< double,double > *)new npstat::BandwidthGCVPseudoLogli1D< double,double >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthGCVPseudoLogli1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< double,double > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVPseudoLogli1D< double,double > *)new npstat::BandwidthGCVPseudoLogli1D< double,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthGCVPseudoLogli1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleBandwidthGCVPseudoLogli1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_DoubleBandwidthGCVPseudoLogli1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleBandwidthGCVPseudoLogli1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleBandwidthGCVPseudoLogli1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogli1D< double,double >::BandwidthGCVPseudoLogli1D(double)\n"
" npstat::BandwidthGCVPseudoLogli1D< double,double >::BandwidthGCVPseudoLogli1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleBandwidthGCVPseudoLogli1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< double,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< 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__BandwidthGCVPseudoLogli1DT_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleBandwidthGCVPseudoLogli1D" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< double,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< 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_DoubleBandwidthGCVPseudoLogli1D_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< double,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< double,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__BandwidthGCVPseudoLogli1DT_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthGCVPseudoLogli1D_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< double,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogli1D< double,double > const *)arg1)->getNonZeroCount();
} 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_DoubleBandwidthGCVPseudoLogli1D_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogli1D< double,double > *arg1 = (npstat::BandwidthGCVPseudoLogli1D< double,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__BandwidthGCVPseudoLogli1DT_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthGCVPseudoLogli1D_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogli1D< double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogli1D< double,double > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogli1D< double,double > const *)arg1)->getRenormCount();
} 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 *DoubleBandwidthGCVPseudoLogli1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVPseudoLogli1DT_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleBandwidthGCVPseudoLogli1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::NUHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< int,npstat::NUHistoAxis > >((npstat::HistoND< int,npstat::NUHistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::NUHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< long,npstat::NUHistoAxis > >((npstat::HistoND< long,npstat::NUHistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::NUHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >((npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< float,npstat::NUHistoAxis > >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< double,npstat::NUHistoAxis > >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::DualHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< int,npstat::DualHistoAxis > >((npstat::HistoND< int,npstat::DualHistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::DualHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< long,npstat::DualHistoAxis > >((npstat::HistoND< long,npstat::DualHistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::DualHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >((npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< float,npstat::DualHistoAxis > >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double,16U > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoCovariance" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::Matrix< double,16U > *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoCovariance2< npstat::HistoND< double,npstat::DualHistoAxis > >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1);
} 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, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoCovariance(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "histoCovariance", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_1(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_2(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_3(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_4(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_5(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_6(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_7(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_8(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_9(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_10(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_11(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_12(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_13(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoCovariance__SWIG_14(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'histoCovariance'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::histoCovariance2< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< int,npstat::NUHistoAxis > >(npstat::HistoND< int,npstat::NUHistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< long,npstat::NUHistoAxis > >(npstat::HistoND< long,npstat::NUHistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< float,npstat::NUHistoAxis > >(npstat::HistoND< float,npstat::NUHistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< double,npstat::NUHistoAxis > >(npstat::HistoND< double,npstat::NUHistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< int,npstat::DualHistoAxis > >(npstat::HistoND< int,npstat::DualHistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< long,npstat::DualHistoAxis > >(npstat::HistoND< long,npstat::DualHistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< float,npstat::DualHistoAxis > >(npstat::HistoND< float,npstat::DualHistoAxis > const &)\n"
" npstat::histoCovariance2< npstat::HistoND< double,npstat::DualHistoAxis > >(npstat::HistoND< double,npstat::DualHistoAxis > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_histoMean__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > const &)*arg1);
} 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_histoMean__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > const &)*arg1);
} 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_histoMean__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1);
} 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_histoMean__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1);
} 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_histoMean__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg1);
} 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_histoMean__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::NUHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::NUHistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< int,npstat::NUHistoAxis > >((npstat::HistoND< int,npstat::NUHistoAxis > const &)*arg1);
} 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_histoMean__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::NUHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::NUHistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< long,npstat::NUHistoAxis > >((npstat::HistoND< long,npstat::NUHistoAxis > const &)*arg1);
} 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_histoMean__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< float,npstat::NUHistoAxis > >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1);
} 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_histoMean__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< double,npstat::NUHistoAxis > >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1);
} 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_histoMean__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::NUHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::NUHistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >((npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &)*arg1);
} 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_histoMean__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::DualHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::DualHistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< int,npstat::DualHistoAxis > >((npstat::HistoND< int,npstat::DualHistoAxis > const &)*arg1);
} 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_histoMean__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::DualHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::DualHistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< long,npstat::DualHistoAxis > >((npstat::HistoND< long,npstat::DualHistoAxis > const &)*arg1);
} 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_histoMean__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< float,npstat::DualHistoAxis > >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1);
} 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_histoMean__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< double,npstat::DualHistoAxis > >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1);
} 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_histoMean__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::DualHistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoMean" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::DualHistoAxis > * >(argp1);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoMean2< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >((npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &)*arg1);
} 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_histoMean(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "histoMean", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_1(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_2(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_3(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_4(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_5(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_6(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_7(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_8(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_9(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_10(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_11(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_12(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_13(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoMean__SWIG_14(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'histoMean'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::histoMean2< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< int,npstat::NUHistoAxis > >(npstat::HistoND< int,npstat::NUHistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< long,npstat::NUHistoAxis > >(npstat::HistoND< long,npstat::NUHistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< float,npstat::NUHistoAxis > >(npstat::HistoND< float,npstat::NUHistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< double,npstat::NUHistoAxis > >(npstat::HistoND< double,npstat::NUHistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< int,npstat::DualHistoAxis > >(npstat::HistoND< int,npstat::DualHistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< long,npstat::DualHistoAxis > >(npstat::HistoND< long,npstat::DualHistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< float,npstat::DualHistoAxis > >(npstat::HistoND< float,npstat::DualHistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< double,npstat::DualHistoAxis > >(npstat::HistoND< double,npstat::DualHistoAxis > const &)\n"
" npstat::histoMean2< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< int,npstat::NUHistoAxis > >((npstat::HistoND< int,npstat::NUHistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< long,npstat::NUHistoAxis > >((npstat::HistoND< long,npstat::NUHistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< float,npstat::NUHistoAxis > >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< double,npstat::NUHistoAxis > >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >((npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< int,npstat::DualHistoAxis > >((npstat::HistoND< int,npstat::DualHistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< long,npstat::DualHistoAxis > >((npstat::HistoND< long,npstat::DualHistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< float,npstat::DualHistoAxis > >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< double,npstat::DualHistoAxis > >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
std::vector< double,std::allocator< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 3) || (nobjs > 3)) 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 '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,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 '" "histoQuantiles" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoQuantiles" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg3 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR histoQuantiles2< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >((npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &)*arg1,arg2,(std::vector< double,std::allocator< double > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_histoQuantiles(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "histoQuantiles", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_5(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_6(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_7(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_8(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_9(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_10(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_11(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_12(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_13(self, argc, argv);
}
}
}
}
if (argc == 3) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_histoQuantiles__SWIG_14(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'histoQuantiles'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::histoQuantiles2< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< int,npstat::NUHistoAxis > >(npstat::HistoND< int,npstat::NUHistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< long,npstat::NUHistoAxis > >(npstat::HistoND< long,npstat::NUHistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< float,npstat::NUHistoAxis > >(npstat::HistoND< float,npstat::NUHistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< double,npstat::NUHistoAxis > >(npstat::HistoND< double,npstat::NUHistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< int,npstat::DualHistoAxis > >(npstat::HistoND< int,npstat::DualHistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< long,npstat::DualHistoAxis > >(npstat::HistoND< long,npstat::DualHistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< float,npstat::DualHistoAxis > >(npstat::HistoND< float,npstat::DualHistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< double,npstat::DualHistoAxis > >(npstat::HistoND< double,npstat::DualHistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n"
" npstat::histoQuantiles2< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &,unsigned int const,std::vector< double,std::allocator< double > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_histoDensity1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::BinnedDensity1D *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,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 '" "histoDensity1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::BinnedDensity1D *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensity1D2< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensity1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoDensity1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::BinnedDensity1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::BinnedDensity1D *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensity1D2< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensity1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoDensity1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::BinnedDensity1D *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,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 '" "histoDensity1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::BinnedDensity1D *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensity1D2< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensity1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoDensity1D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::BinnedDensity1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::BinnedDensity1D *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensity1D2< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensity1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoDensity1D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::BinnedDensity1D *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "histoDensity1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::BinnedDensity1D *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensity1D2< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensity1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoDensity1D__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::BinnedDensity1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::BinnedDensity1D *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensity1D2< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensity1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoDensity1D__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::BinnedDensity1D *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "histoDensity1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::BinnedDensity1D *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensity1D2< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensity1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoDensity1D__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::BinnedDensity1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::BinnedDensity1D *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensity1D2< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensity1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoDensity1D__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::BinnedDensity1D *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,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 '" "histoDensity1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::BinnedDensity1D *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensity1D2< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensity1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoDensity1D__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::BinnedDensity1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensity1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::BinnedDensity1D *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensity1D2< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensity1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_histoDensity1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "histoDensity1D", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
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) {
return _wrap_histoDensity1D__SWIG_1(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoDensity1D__SWIG_3(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoDensity1D__SWIG_5(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoDensity1D__SWIG_7(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoDensity1D__SWIG_9(self, argc, argv);
}
}
if (argc == 2) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_histoDensity1D__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_histoDensity1D__SWIG_6(self, argc, argv);
}
}
}
if (argc == 2) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_histoDensity1D__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_histoDensity1D__SWIG_8(self, argc, argv);
}
}
}
if (argc == 2) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_histoDensity1D__SWIG_4(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'histoDensity1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::histoDensity1D2< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &,unsigned int)\n"
" npstat::histoDensity1D2< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &)\n"
" npstat::histoDensity1D2< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &,unsigned int)\n"
" npstat::histoDensity1D2< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &)\n"
" npstat::histoDensity1D2< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &,unsigned int)\n"
" npstat::histoDensity1D2< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &)\n"
" npstat::histoDensity1D2< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &,unsigned int)\n"
" npstat::histoDensity1D2< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &)\n"
" npstat::histoDensity1D2< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &,unsigned int)\n"
" npstat::histoDensity1D2< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_histoDensityND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,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 '" "histoDensityND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::BinnedDensityND *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensityND2< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > 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_histoDensityND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::BinnedDensityND *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensityND2< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > const &)*arg1);
} 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_histoDensityND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,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 '" "histoDensityND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::BinnedDensityND *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensityND2< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > 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_histoDensityND__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::BinnedDensityND *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensityND2< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > const &)*arg1);
} 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_histoDensityND__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "histoDensityND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::BinnedDensityND *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensityND2< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > 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_histoDensityND__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::BinnedDensityND *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensityND2< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1);
} 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_histoDensityND__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< 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 '" "histoDensityND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::BinnedDensityND *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensityND2< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > 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_histoDensityND__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::BinnedDensityND *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensityND2< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1);
} 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_histoDensityND__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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 '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,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 '" "histoDensityND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::BinnedDensityND *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensityND2< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > 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_histoDensityND__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "histoDensityND" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::BinnedDensityND *)npstat::SWIGTEMPLATEDISAMBIGUATOR histoDensityND2< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg1);
} 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_histoDensityND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "histoDensityND", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
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) {
return _wrap_histoDensityND__SWIG_1(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoDensityND__SWIG_3(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoDensityND__SWIG_5(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoDensityND__SWIG_7(self, argc, argv);
}
}
if (argc == 1) {
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) {
return _wrap_histoDensityND__SWIG_9(self, argc, argv);
}
}
if (argc == 2) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_histoDensityND__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_histoDensityND__SWIG_6(self, argc, argv);
}
}
}
if (argc == 2) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_histoDensityND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_histoDensityND__SWIG_8(self, argc, argv);
}
}
}
if (argc == 2) {
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) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_histoDensityND__SWIG_4(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'histoDensityND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::histoDensityND2< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &,unsigned int)\n"
" npstat::histoDensityND2< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &)\n"
" npstat::histoDensityND2< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &,unsigned int)\n"
" npstat::histoDensityND2< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &)\n"
" npstat::histoDensityND2< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &,unsigned int)\n"
" npstat::histoDensityND2< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &)\n"
" npstat::histoDensityND2< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &,unsigned int)\n"
" npstat::histoDensityND2< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &)\n"
" npstat::histoDensityND2< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &,unsigned int)\n"
" npstat::histoDensityND2< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_bivariateChiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double val1 ;
int ecode1 = 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 ;
PyObject *swig_obj[7] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "bivariateChiSquare", 7, 7, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "bivariateChiSquare" "', 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 '" "bivariateChiSquare" "', 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 '" "bivariateChiSquare" "', 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 '" "bivariateChiSquare" "', 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 '" "bivariateChiSquare" "', 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 '" "bivariateChiSquare" "', 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 '" "bivariateChiSquare" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (double)bivariateChiSquare(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
} 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_FloatUAInterpolationFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *arg1 = 0 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *ptr = (std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > 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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *arg1 = 0 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *ptr = (std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 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_FloatUAInterpolationFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
char *arg4 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(char const *)arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return resultobj;
fail:
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((npstat::UniformAxis 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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
char *arg7 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
int res7 ;
char *buf7 = 0 ;
int alloc7 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_AsCharPtrAndSize(swig_obj[6], &buf7, NULL, &alloc7);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "char const *""'");
}
arg7 = reinterpret_cast< char * >(buf7);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(char const *)arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return resultobj;
fail:
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis 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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
char *arg10 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
int res10 ;
char *buf10 = 0 ;
int alloc10 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_AsCharPtrAndSize(swig_obj[9], &buf10, NULL, &alloc10);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "10"" of type '" "char const *""'");
}
arg10 = reinterpret_cast< char * >(buf10);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9,(char const *)arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return resultobj;
fail:
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::UniformAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
char *arg13 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
int res13 ;
char *buf13 = 0 ;
int alloc13 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
arg10 = reinterpret_cast< npstat::UniformAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_AsCharPtrAndSize(swig_obj[12], &buf13, NULL, &alloc13);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "13"" of type '" "char const *""'");
}
arg13 = reinterpret_cast< char * >(buf13);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9,(npstat::UniformAxis const &)*arg10,arg11,arg12,(char const *)arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return resultobj;
fail:
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::UniformAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 12) || (nobjs > 12)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
arg10 = reinterpret_cast< npstat::UniformAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9,(npstat::UniformAxis const &)*arg10,arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::UniformAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::UniformAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
char *arg16 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
int res16 ;
char *buf16 = 0 ;
int alloc16 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 16) || (nobjs > 16)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
arg10 = reinterpret_cast< npstat::UniformAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "13"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "13"" of type '" "npstat::UniformAxis const &""'");
}
arg13 = reinterpret_cast< npstat::UniformAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
res16 = SWIG_AsCharPtrAndSize(swig_obj[15], &buf16, NULL, &alloc16);
if (!SWIG_IsOK(res16)) {
SWIG_exception_fail(SWIG_ArgError(res16), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "16"" of type '" "char const *""'");
}
arg16 = reinterpret_cast< char * >(buf16);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9,(npstat::UniformAxis const &)*arg10,arg11,arg12,(npstat::UniformAxis const &)*arg13,arg14,arg15,(char const *)arg16);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return resultobj;
fail:
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::UniformAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::UniformAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 15) || (nobjs > 15)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
arg10 = reinterpret_cast< npstat::UniformAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "13"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatUAInterpolationFunctor" "', argument " "13"" of type '" "npstat::UniformAxis const &""'");
}
arg13 = reinterpret_cast< npstat::UniformAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_FloatUAInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9,(npstat::UniformAxis const &)*arg10,arg11,arg12,(npstat::UniformAxis const &)*arg13,arg14,arg15);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatUAInterpolationFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[17] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_FloatUAInterpolationFunctor", 0, 16, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatUAInterpolationFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_FloatUAInterpolationFunctor__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(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_FloatUAInterpolationFunctor__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatUAInterpolationFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatUAInterpolationFunctor__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[6], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatUAInterpolationFunctor__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatUAInterpolationFunctor__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[9], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatUAInterpolationFunctor__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatUAInterpolationFunctor__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[12], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatUAInterpolationFunctor__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 15) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatUAInterpolationFunctor__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 16) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[15], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatUAInterpolationFunctor__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FloatUAInterpolationFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_FloatUAInterpolationFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *) 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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > * >(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_FloatUAInterpolationFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *) 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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAInterpolationFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > 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_FloatUAInterpolationFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *) 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, "FloatUAInterpolationFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAInterpolationFunctor___call__" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > * >(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 '" "FloatUAInterpolationFunctor___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 '" "FloatUAInterpolationFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > 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_FloatUAInterpolationFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_float_npstat__UniformAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAInterpolationFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::Table *) &((npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_float_npstat__UniformAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAInterpolationFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatUAInterpolationFunctor_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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatUAInterpolationFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatUAInterpolationFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatUAInterpolationFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::interpolator()\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatUAInterpolationFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *) 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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > * >(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_FloatUAInterpolationFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *) 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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< float > *) &((npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > 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_FloatUAInterpolationFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatUAInterpolationFunctor_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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatUAInterpolationFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatUAInterpolationFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatUAInterpolationFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::table()\n"
" npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatUAInterpolationFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *) 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, "FloatUAInterpolationFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAInterpolationFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > * >(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 '" "FloatUAInterpolationFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatUAInterpolationFunctor_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_FloatUAInterpolationFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *) 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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAInterpolationFunctor_classId" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > * >(argp1);
{
try {
result = ((npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > 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_FloatUAInterpolationFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *) 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, "FloatUAInterpolationFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAInterpolationFunctor_write" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > * >(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 '" "FloatUAInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatUAInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > 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_FloatUAInterpolationFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatUAInterpolationFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::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_FloatUAInterpolationFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "FloatUAInterpolationFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::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_FloatUAInterpolationFunctor_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::StorableInterpolationFunctor< float,npstat::UniformAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatUAInterpolationFunctor_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 '" "FloatUAInterpolationFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatUAInterpolationFunctor_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 '" "FloatUAInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatUAInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::UniformAxis > *)npstat::StorableInterpolationFunctor< float,npstat::UniformAxis >::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__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatUAInterpolationFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__UniformAxis_npstat__SameT_float_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatUAInterpolationFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__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 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *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_FloatNUInterpolationFunctor" "', 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_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > 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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__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 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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_FloatNUInterpolationFunctor" "', 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_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 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_FloatNUInterpolationFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
char *arg4 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(char const *)arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return resultobj;
fail:
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
char *arg7 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
int res7 ;
char *buf7 = 0 ;
int alloc7 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_AsCharPtrAndSize(swig_obj[6], &buf7, NULL, &alloc7);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "char const *""'");
}
arg7 = reinterpret_cast< char * >(buf7);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(char const *)arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return resultobj;
fail:
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis 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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
char *arg10 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
int res10 ;
char *buf10 = 0 ;
int alloc10 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_AsCharPtrAndSize(swig_obj[9], &buf10, NULL, &alloc10);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "10"" of type '" "char const *""'");
}
arg10 = reinterpret_cast< char * >(buf10);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9,(char const *)arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return resultobj;
fail:
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::GridAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
char *arg13 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
int res13 ;
char *buf13 = 0 ;
int alloc13 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
arg10 = reinterpret_cast< npstat::GridAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_AsCharPtrAndSize(swig_obj[12], &buf13, NULL, &alloc13);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "13"" of type '" "char const *""'");
}
arg13 = reinterpret_cast< char * >(buf13);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9,(npstat::GridAxis const &)*arg10,arg11,arg12,(char const *)arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return resultobj;
fail:
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::GridAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 12) || (nobjs > 12)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
arg10 = reinterpret_cast< npstat::GridAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9,(npstat::GridAxis const &)*arg10,arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::GridAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::GridAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
char *arg16 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
int res16 ;
char *buf16 = 0 ;
int alloc16 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 16) || (nobjs > 16)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
arg10 = reinterpret_cast< npstat::GridAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "13"" of type '" "npstat::GridAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "13"" of type '" "npstat::GridAxis const &""'");
}
arg13 = reinterpret_cast< npstat::GridAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
res16 = SWIG_AsCharPtrAndSize(swig_obj[15], &buf16, NULL, &alloc16);
if (!SWIG_IsOK(res16)) {
SWIG_exception_fail(SWIG_ArgError(res16), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "16"" of type '" "char const *""'");
}
arg16 = reinterpret_cast< char * >(buf16);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9,(npstat::GridAxis const &)*arg10,arg11,arg12,(npstat::GridAxis const &)*arg13,arg14,arg15,(char const *)arg16);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return resultobj;
fail:
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::GridAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::GridAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if ((nobjs < 15) || (nobjs > 15)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
arg10 = reinterpret_cast< npstat::GridAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "13"" of type '" "npstat::GridAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatNUInterpolationFunctor" "', argument " "13"" of type '" "npstat::GridAxis const &""'");
}
arg13 = reinterpret_cast< npstat::GridAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_FloatNUInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9,(npstat::GridAxis const &)*arg10,arg11,arg12,(npstat::GridAxis const &)*arg13,arg14,arg15);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatNUInterpolationFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[17] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_FloatNUInterpolationFunctor", 0, 16, argv))) SWIG_fail;
--argc;
if (argc == 2) {
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::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatNUInterpolationFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_FloatNUInterpolationFunctor__SWIG_3(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::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(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_FloatNUInterpolationFunctor__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatNUInterpolationFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatNUInterpolationFunctor__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[6], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatNUInterpolationFunctor__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatNUInterpolationFunctor__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[9], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatNUInterpolationFunctor__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatNUInterpolationFunctor__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[12], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatNUInterpolationFunctor__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 15) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatNUInterpolationFunctor__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 16) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[15], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatNUInterpolationFunctor__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FloatNUInterpolationFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_FloatNUInterpolationFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *) 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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::GridAxis > * >(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_FloatNUInterpolationFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *) 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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUInterpolationFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::GridAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableInterpolationFunctor< float,npstat::GridAxis > 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_FloatNUInterpolationFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *) 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, "FloatNUInterpolationFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUInterpolationFunctor___call__" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::GridAxis > * >(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 '" "FloatNUInterpolationFunctor___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 '" "FloatNUInterpolationFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableInterpolationFunctor< float,npstat::GridAxis > 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_FloatNUInterpolationFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::GridAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_float_npstat__GridAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUInterpolationFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::GridAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::Table *) &((npstat::StorableInterpolationFunctor< float,npstat::GridAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_float_npstat__GridAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUInterpolationFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatNUInterpolationFunctor_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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatNUInterpolationFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatNUInterpolationFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatNUInterpolationFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::interpolator()\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatNUInterpolationFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *) 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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::GridAxis > * >(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_FloatNUInterpolationFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *) 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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::GridAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< float > *) &((npstat::StorableInterpolationFunctor< float,npstat::GridAxis > 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_FloatNUInterpolationFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatNUInterpolationFunctor_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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatNUInterpolationFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatNUInterpolationFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatNUInterpolationFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::table()\n"
" npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatNUInterpolationFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *) 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, "FloatNUInterpolationFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUInterpolationFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::GridAxis > * >(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 '" "FloatNUInterpolationFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatNUInterpolationFunctor_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_FloatNUInterpolationFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *) 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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUInterpolationFunctor_classId" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::GridAxis > * >(argp1);
{
try {
result = ((npstat::StorableInterpolationFunctor< float,npstat::GridAxis > 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_FloatNUInterpolationFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *) 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, "FloatNUInterpolationFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUInterpolationFunctor_write" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::GridAxis > * >(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 '" "FloatNUInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatNUInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableInterpolationFunctor< float,npstat::GridAxis > 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_FloatNUInterpolationFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatNUInterpolationFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::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_FloatNUInterpolationFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "FloatNUInterpolationFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::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_FloatNUInterpolationFunctor_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::StorableInterpolationFunctor< float,npstat::GridAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatNUInterpolationFunctor_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 '" "FloatNUInterpolationFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatNUInterpolationFunctor_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 '" "FloatNUInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatNUInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::GridAxis > *)npstat::StorableInterpolationFunctor< float,npstat::GridAxis >::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__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatNUInterpolationFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__GridAxis_npstat__SameT_float_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatNUInterpolationFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *arg1 = 0 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *ptr = (std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > 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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *arg1 = 0 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *ptr = (std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 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_FloatInterpolationFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
char *arg4 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(char const *)arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return resultobj;
fail:
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((npstat::DualAxis 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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
char *arg7 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
int res7 ;
char *buf7 = 0 ;
int alloc7 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_AsCharPtrAndSize(swig_obj[6], &buf7, NULL, &alloc7);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "char const *""'");
}
arg7 = reinterpret_cast< char * >(buf7);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(char const *)arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return resultobj;
fail:
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis 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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
char *arg10 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
int res10 ;
char *buf10 = 0 ;
int alloc10 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_AsCharPtrAndSize(swig_obj[9], &buf10, NULL, &alloc10);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatInterpolationFunctor" "', argument " "10"" of type '" "char const *""'");
}
arg10 = reinterpret_cast< char * >(buf10);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9,(char const *)arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return resultobj;
fail:
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::DualAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
char *arg13 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
int res13 ;
char *buf13 = 0 ;
int alloc13 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
arg10 = reinterpret_cast< npstat::DualAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_AsCharPtrAndSize(swig_obj[12], &buf13, NULL, &alloc13);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_FloatInterpolationFunctor" "', argument " "13"" of type '" "char const *""'");
}
arg13 = reinterpret_cast< char * >(buf13);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9,(npstat::DualAxis const &)*arg10,arg11,arg12,(char const *)arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return resultobj;
fail:
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::DualAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 12) || (nobjs > 12)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
arg10 = reinterpret_cast< npstat::DualAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9,(npstat::DualAxis const &)*arg10,arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::DualAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::DualAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
char *arg16 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
int res16 ;
char *buf16 = 0 ;
int alloc16 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 16) || (nobjs > 16)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
arg10 = reinterpret_cast< npstat::DualAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_FloatInterpolationFunctor" "', argument " "13"" of type '" "npstat::DualAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "13"" of type '" "npstat::DualAxis const &""'");
}
arg13 = reinterpret_cast< npstat::DualAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_FloatInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_FloatInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
res16 = SWIG_AsCharPtrAndSize(swig_obj[15], &buf16, NULL, &alloc16);
if (!SWIG_IsOK(res16)) {
SWIG_exception_fail(SWIG_ArgError(res16), "in method '" "new_FloatInterpolationFunctor" "', argument " "16"" of type '" "char const *""'");
}
arg16 = reinterpret_cast< char * >(buf16);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9,(npstat::DualAxis const &)*arg10,arg11,arg12,(npstat::DualAxis const &)*arg13,arg14,arg15,(char const *)arg16);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return resultobj;
fail:
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::DualAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::DualAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if ((nobjs < 15) || (nobjs > 15)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FloatInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FloatInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FloatInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_FloatInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_FloatInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
arg10 = reinterpret_cast< npstat::DualAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_FloatInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_FloatInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_FloatInterpolationFunctor" "', argument " "13"" of type '" "npstat::DualAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatInterpolationFunctor" "', argument " "13"" of type '" "npstat::DualAxis const &""'");
}
arg13 = reinterpret_cast< npstat::DualAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_FloatInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_FloatInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< float,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9,(npstat::DualAxis const &)*arg10,arg11,arg12,(npstat::DualAxis const &)*arg13,arg14,arg15);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatInterpolationFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[17] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_FloatInterpolationFunctor", 0, 16, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatInterpolationFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_FloatInterpolationFunctor__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(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_FloatInterpolationFunctor__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatInterpolationFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatInterpolationFunctor__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[6], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatInterpolationFunctor__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatInterpolationFunctor__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[9], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatInterpolationFunctor__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatInterpolationFunctor__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[12], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatInterpolationFunctor__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 15) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatInterpolationFunctor__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 16) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[15], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FloatInterpolationFunctor__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FloatInterpolationFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_FloatInterpolationFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *) 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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatInterpolationFunctor" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::DualAxis > * >(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_FloatInterpolationFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *) 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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatInterpolationFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::DualAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableInterpolationFunctor< float,npstat::DualAxis > 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_FloatInterpolationFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *) 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, "FloatInterpolationFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatInterpolationFunctor___call__" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::DualAxis > * >(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 '" "FloatInterpolationFunctor___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 '" "FloatInterpolationFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableInterpolationFunctor< float,npstat::DualAxis > 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_FloatInterpolationFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::DualAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_float_npstat__DualAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatInterpolationFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::DualAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::Table *) &((npstat::StorableInterpolationFunctor< float,npstat::DualAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_float_npstat__DualAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatInterpolationFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatInterpolationFunctor_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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatInterpolationFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatInterpolationFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatInterpolationFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::interpolator()\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatInterpolationFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *) 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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::DualAxis > * >(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_FloatInterpolationFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *) 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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::DualAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< float > *) &((npstat::StorableInterpolationFunctor< float,npstat::DualAxis > 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_FloatInterpolationFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatInterpolationFunctor_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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatInterpolationFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatInterpolationFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatInterpolationFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::table()\n"
" npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatInterpolationFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *) 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, "FloatInterpolationFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatInterpolationFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::DualAxis > * >(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 '" "FloatInterpolationFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatInterpolationFunctor_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_FloatInterpolationFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *) 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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatInterpolationFunctor_classId" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::DualAxis > * >(argp1);
{
try {
result = ((npstat::StorableInterpolationFunctor< float,npstat::DualAxis > 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_FloatInterpolationFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *) 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, "FloatInterpolationFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatInterpolationFunctor_write" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< float,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< float,npstat::DualAxis > * >(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 '" "FloatInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableInterpolationFunctor< float,npstat::DualAxis > 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_FloatInterpolationFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatInterpolationFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::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_FloatInterpolationFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "FloatInterpolationFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::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_FloatInterpolationFunctor_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::StorableInterpolationFunctor< float,npstat::DualAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatInterpolationFunctor_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 '" "FloatInterpolationFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatInterpolationFunctor_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 '" "FloatInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableInterpolationFunctor< float,npstat::DualAxis > *)npstat::StorableInterpolationFunctor< float,npstat::DualAxis >::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__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatInterpolationFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableInterpolationFunctorT_float_npstat__DualAxis_npstat__SameT_float_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatInterpolationFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *arg1 = 0 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *ptr = (std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > 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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *arg1 = 0 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *ptr = (std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 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_DoubleUAInterpolationFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
char *arg4 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(char const *)arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return resultobj;
fail:
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((npstat::UniformAxis 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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
char *arg7 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
int res7 ;
char *buf7 = 0 ;
int alloc7 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_AsCharPtrAndSize(swig_obj[6], &buf7, NULL, &alloc7);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "char const *""'");
}
arg7 = reinterpret_cast< char * >(buf7);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(char const *)arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return resultobj;
fail:
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis 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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
char *arg10 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
int res10 ;
char *buf10 = 0 ;
int alloc10 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_AsCharPtrAndSize(swig_obj[9], &buf10, NULL, &alloc10);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "10"" of type '" "char const *""'");
}
arg10 = reinterpret_cast< char * >(buf10);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9,(char const *)arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return resultobj;
fail:
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::UniformAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
char *arg13 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
int res13 ;
char *buf13 = 0 ;
int alloc13 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
arg10 = reinterpret_cast< npstat::UniformAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_AsCharPtrAndSize(swig_obj[12], &buf13, NULL, &alloc13);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "13"" of type '" "char const *""'");
}
arg13 = reinterpret_cast< char * >(buf13);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9,(npstat::UniformAxis const &)*arg10,arg11,arg12,(char const *)arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return resultobj;
fail:
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::UniformAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 12) || (nobjs > 12)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
arg10 = reinterpret_cast< npstat::UniformAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9,(npstat::UniformAxis const &)*arg10,arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::UniformAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::UniformAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
char *arg16 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
int res16 ;
char *buf16 = 0 ;
int alloc16 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 16) || (nobjs > 16)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
arg10 = reinterpret_cast< npstat::UniformAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "13"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "13"" of type '" "npstat::UniformAxis const &""'");
}
arg13 = reinterpret_cast< npstat::UniformAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
res16 = SWIG_AsCharPtrAndSize(swig_obj[15], &buf16, NULL, &alloc16);
if (!SWIG_IsOK(res16)) {
SWIG_exception_fail(SWIG_ArgError(res16), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "16"" of type '" "char const *""'");
}
arg16 = reinterpret_cast< char * >(buf16);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9,(npstat::UniformAxis const &)*arg10,arg11,arg12,(npstat::UniformAxis const &)*arg13,arg14,arg15,(char const *)arg16);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return resultobj;
fail:
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::UniformAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::UniformAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::UniformAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::UniformAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if ((nobjs < 15) || (nobjs > 15)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::UniformAxis const &""'");
}
arg1 = reinterpret_cast< npstat::UniformAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "4"" of type '" "npstat::UniformAxis const &""'");
}
arg4 = reinterpret_cast< npstat::UniformAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "7"" of type '" "npstat::UniformAxis const &""'");
}
arg7 = reinterpret_cast< npstat::UniformAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "10"" of type '" "npstat::UniformAxis const &""'");
}
arg10 = reinterpret_cast< npstat::UniformAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__UniformAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "13"" of type '" "npstat::UniformAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "13"" of type '" "npstat::UniformAxis const &""'");
}
arg13 = reinterpret_cast< npstat::UniformAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_DoubleUAInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >((npstat::UniformAxis const &)*arg1,arg2,arg3,(npstat::UniformAxis const &)*arg4,arg5,arg6,(npstat::UniformAxis const &)*arg7,arg8,arg9,(npstat::UniformAxis const &)*arg10,arg11,arg12,(npstat::UniformAxis const &)*arg13,arg14,arg15);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleUAInterpolationFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[17] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleUAInterpolationFunctor", 0, 16, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleUAInterpolationFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_DoubleUAInterpolationFunctor__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(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_DoubleUAInterpolationFunctor__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleUAInterpolationFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleUAInterpolationFunctor__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[6], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleUAInterpolationFunctor__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleUAInterpolationFunctor__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[9], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleUAInterpolationFunctor__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleUAInterpolationFunctor__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[12], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleUAInterpolationFunctor__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 15) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleUAInterpolationFunctor__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 16) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__UniformAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[15], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleUAInterpolationFunctor__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleUAInterpolationFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(std::vector< npstat::UniformAxis,std::allocator< npstat::UniformAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::StorableInterpolationFunctor(npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool,npstat::UniformAxis const &,bool,bool)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleUAInterpolationFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *) 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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleUAInterpolationFunctor" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > * >(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_DoubleUAInterpolationFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *) 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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAInterpolationFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > 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_DoubleUAInterpolationFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *) 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, "DoubleUAInterpolationFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAInterpolationFunctor___call__" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > * >(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 '" "DoubleUAInterpolationFunctor___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 '" "DoubleUAInterpolationFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > 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_DoubleUAInterpolationFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_double_npstat__UniformAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAInterpolationFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::Table *) &((npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_double_npstat__UniformAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAInterpolationFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleUAInterpolationFunctor_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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleUAInterpolationFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleUAInterpolationFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleUAInterpolationFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::interpolator()\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleUAInterpolationFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *) 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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > * >(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_DoubleUAInterpolationFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *) 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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &((npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > 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_DoubleUAInterpolationFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleUAInterpolationFunctor_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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleUAInterpolationFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleUAInterpolationFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleUAInterpolationFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::table()\n"
" npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleUAInterpolationFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *) 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, "DoubleUAInterpolationFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAInterpolationFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > * >(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 '" "DoubleUAInterpolationFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleUAInterpolationFunctor_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_DoubleUAInterpolationFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *) 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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAInterpolationFunctor_classId" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > * >(argp1);
{
try {
result = ((npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > 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_DoubleUAInterpolationFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *) 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, "DoubleUAInterpolationFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAInterpolationFunctor_write" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > * >(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 '" "DoubleUAInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleUAInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > 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_DoubleUAInterpolationFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleUAInterpolationFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::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_DoubleUAInterpolationFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DoubleUAInterpolationFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::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_DoubleUAInterpolationFunctor_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::StorableInterpolationFunctor< double,npstat::UniformAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleUAInterpolationFunctor_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 '" "DoubleUAInterpolationFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleUAInterpolationFunctor_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 '" "DoubleUAInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleUAInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::UniformAxis > *)npstat::StorableInterpolationFunctor< double,npstat::UniformAxis >::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__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleUAInterpolationFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__UniformAxis_npstat__SameT_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleUAInterpolationFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__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 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *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_DoubleNUInterpolationFunctor" "', 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_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > 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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__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 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) 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_DoubleNUInterpolationFunctor" "', 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_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 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_DoubleNUInterpolationFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
char *arg4 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(char const *)arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return resultobj;
fail:
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
char *arg7 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
int res7 ;
char *buf7 = 0 ;
int alloc7 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_AsCharPtrAndSize(swig_obj[6], &buf7, NULL, &alloc7);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "char const *""'");
}
arg7 = reinterpret_cast< char * >(buf7);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(char const *)arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return resultobj;
fail:
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis 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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
char *arg10 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
int res10 ;
char *buf10 = 0 ;
int alloc10 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_AsCharPtrAndSize(swig_obj[9], &buf10, NULL, &alloc10);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "10"" of type '" "char const *""'");
}
arg10 = reinterpret_cast< char * >(buf10);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9,(char const *)arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return resultobj;
fail:
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::GridAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
char *arg13 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
int res13 ;
char *buf13 = 0 ;
int alloc13 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
arg10 = reinterpret_cast< npstat::GridAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_AsCharPtrAndSize(swig_obj[12], &buf13, NULL, &alloc13);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "13"" of type '" "char const *""'");
}
arg13 = reinterpret_cast< char * >(buf13);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9,(npstat::GridAxis const &)*arg10,arg11,arg12,(char const *)arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return resultobj;
fail:
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::GridAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 12) || (nobjs > 12)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
arg10 = reinterpret_cast< npstat::GridAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9,(npstat::GridAxis const &)*arg10,arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::GridAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::GridAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
char *arg16 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
int res16 ;
char *buf16 = 0 ;
int alloc16 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 16) || (nobjs > 16)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
arg10 = reinterpret_cast< npstat::GridAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "13"" of type '" "npstat::GridAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "13"" of type '" "npstat::GridAxis const &""'");
}
arg13 = reinterpret_cast< npstat::GridAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
res16 = SWIG_AsCharPtrAndSize(swig_obj[15], &buf16, NULL, &alloc16);
if (!SWIG_IsOK(res16)) {
SWIG_exception_fail(SWIG_ArgError(res16), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "16"" of type '" "char const *""'");
}
arg16 = reinterpret_cast< char * >(buf16);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9,(npstat::GridAxis const &)*arg10,arg11,arg12,(npstat::GridAxis const &)*arg13,arg14,arg15,(char const *)arg16);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return resultobj;
fail:
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::GridAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::GridAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::GridAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::GridAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if ((nobjs < 15) || (nobjs > 15)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::GridAxis const &""'");
}
arg1 = reinterpret_cast< npstat::GridAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "4"" of type '" "npstat::GridAxis const &""'");
}
arg4 = reinterpret_cast< npstat::GridAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "7"" of type '" "npstat::GridAxis const &""'");
}
arg7 = reinterpret_cast< npstat::GridAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "10"" of type '" "npstat::GridAxis const &""'");
}
arg10 = reinterpret_cast< npstat::GridAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__GridAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "13"" of type '" "npstat::GridAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "13"" of type '" "npstat::GridAxis const &""'");
}
arg13 = reinterpret_cast< npstat::GridAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_DoubleNUInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::GridAxis >((npstat::GridAxis const &)*arg1,arg2,arg3,(npstat::GridAxis const &)*arg4,arg5,arg6,(npstat::GridAxis const &)*arg7,arg8,arg9,(npstat::GridAxis const &)*arg10,arg11,arg12,(npstat::GridAxis const &)*arg13,arg14,arg15);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleNUInterpolationFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[17] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleNUInterpolationFunctor", 0, 16, argv))) SWIG_fail;
--argc;
if (argc == 2) {
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::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleNUInterpolationFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_DoubleNUInterpolationFunctor__SWIG_3(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::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(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_DoubleNUInterpolationFunctor__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleNUInterpolationFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleNUInterpolationFunctor__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[6], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleNUInterpolationFunctor__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleNUInterpolationFunctor__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[9], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleNUInterpolationFunctor__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleNUInterpolationFunctor__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[12], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleNUInterpolationFunctor__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 15) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleNUInterpolationFunctor__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 16) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__GridAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[15], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleNUInterpolationFunctor__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleNUInterpolationFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::StorableInterpolationFunctor(npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool,npstat::GridAxis const &,bool,bool)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleNUInterpolationFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *) 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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleNUInterpolationFunctor" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::GridAxis > * >(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_DoubleNUInterpolationFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *) 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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUInterpolationFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::GridAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableInterpolationFunctor< double,npstat::GridAxis > 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_DoubleNUInterpolationFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *) 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, "DoubleNUInterpolationFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUInterpolationFunctor___call__" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::GridAxis > * >(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 '" "DoubleNUInterpolationFunctor___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 '" "DoubleNUInterpolationFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableInterpolationFunctor< double,npstat::GridAxis > 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_DoubleNUInterpolationFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::GridAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_double_npstat__GridAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUInterpolationFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::GridAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::Table *) &((npstat::StorableInterpolationFunctor< double,npstat::GridAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_double_npstat__GridAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUInterpolationFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleNUInterpolationFunctor_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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleNUInterpolationFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleNUInterpolationFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleNUInterpolationFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::interpolator()\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleNUInterpolationFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *) 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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::GridAxis > * >(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_DoubleNUInterpolationFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *) 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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::GridAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &((npstat::StorableInterpolationFunctor< double,npstat::GridAxis > 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_DoubleNUInterpolationFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleNUInterpolationFunctor_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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleNUInterpolationFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleNUInterpolationFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleNUInterpolationFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::table()\n"
" npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleNUInterpolationFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *) 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, "DoubleNUInterpolationFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUInterpolationFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::GridAxis > * >(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 '" "DoubleNUInterpolationFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleNUInterpolationFunctor_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_DoubleNUInterpolationFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *) 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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUInterpolationFunctor_classId" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::GridAxis > * >(argp1);
{
try {
result = ((npstat::StorableInterpolationFunctor< double,npstat::GridAxis > 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_DoubleNUInterpolationFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *) 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, "DoubleNUInterpolationFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUInterpolationFunctor_write" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::GridAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::GridAxis > * >(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 '" "DoubleNUInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleNUInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableInterpolationFunctor< double,npstat::GridAxis > 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_DoubleNUInterpolationFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleNUInterpolationFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::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_DoubleNUInterpolationFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DoubleNUInterpolationFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::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_DoubleNUInterpolationFunctor_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::StorableInterpolationFunctor< double,npstat::GridAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleNUInterpolationFunctor_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 '" "DoubleNUInterpolationFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleNUInterpolationFunctor_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 '" "DoubleNUInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleNUInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::GridAxis > *)npstat::StorableInterpolationFunctor< double,npstat::GridAxis >::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__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleNUInterpolationFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__GridAxis_npstat__SameT_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleNUInterpolationFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *arg1 = 0 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *ptr = (std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > 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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *arg1 = 0 ;
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *ptr = (std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &""'");
}
arg1 = ptr;
}
{
std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *ptr = (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &)*arg1,(std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 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_DoubleInterpolationFunctor__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
char *arg4 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(char const *)arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return resultobj;
fail:
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((npstat::DualAxis 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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
char *arg7 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
int res7 ;
char *buf7 = 0 ;
int alloc7 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_AsCharPtrAndSize(swig_obj[6], &buf7, NULL, &alloc7);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "char const *""'");
}
arg7 = reinterpret_cast< char * >(buf7);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(char const *)arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return resultobj;
fail:
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis 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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
char *arg10 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
int res10 ;
char *buf10 = 0 ;
int alloc10 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_AsCharPtrAndSize(swig_obj[9], &buf10, NULL, &alloc10);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleInterpolationFunctor" "', argument " "10"" of type '" "char const *""'");
}
arg10 = reinterpret_cast< char * >(buf10);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9,(char const *)arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return resultobj;
fail:
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::DualAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
char *arg13 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
int res13 ;
char *buf13 = 0 ;
int alloc13 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 13) || (nobjs > 13)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
arg10 = reinterpret_cast< npstat::DualAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_AsCharPtrAndSize(swig_obj[12], &buf13, NULL, &alloc13);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_DoubleInterpolationFunctor" "', argument " "13"" of type '" "char const *""'");
}
arg13 = reinterpret_cast< char * >(buf13);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9,(npstat::DualAxis const &)*arg10,arg11,arg12,(char const *)arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return resultobj;
fail:
if (alloc13 == SWIG_NEWOBJ) delete[] buf13;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::DualAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 12) || (nobjs > 12)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
arg10 = reinterpret_cast< npstat::DualAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9,(npstat::DualAxis const &)*arg10,arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::DualAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::DualAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
char *arg16 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
int res16 ;
char *buf16 = 0 ;
int alloc16 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 16) || (nobjs > 16)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
arg10 = reinterpret_cast< npstat::DualAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_DoubleInterpolationFunctor" "', argument " "13"" of type '" "npstat::DualAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "13"" of type '" "npstat::DualAxis const &""'");
}
arg13 = reinterpret_cast< npstat::DualAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_DoubleInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_DoubleInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
res16 = SWIG_AsCharPtrAndSize(swig_obj[15], &buf16, NULL, &alloc16);
if (!SWIG_IsOK(res16)) {
SWIG_exception_fail(SWIG_ArgError(res16), "in method '" "new_DoubleInterpolationFunctor" "', argument " "16"" of type '" "char const *""'");
}
arg16 = reinterpret_cast< char * >(buf16);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9,(npstat::DualAxis const &)*arg10,arg11,arg12,(npstat::DualAxis const &)*arg13,arg14,arg15,(char const *)arg16);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return resultobj;
fail:
if (alloc16 == SWIG_NEWOBJ) delete[] buf16;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::DualAxis *arg1 = 0 ;
bool arg2 ;
bool arg3 ;
npstat::DualAxis *arg4 = 0 ;
bool arg5 ;
bool arg6 ;
npstat::DualAxis *arg7 = 0 ;
bool arg8 ;
bool arg9 ;
npstat::DualAxis *arg10 = 0 ;
bool arg11 ;
bool arg12 ;
npstat::DualAxis *arg13 = 0 ;
bool arg14 ;
bool arg15 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
bool val9 ;
int ecode9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
bool val11 ;
int ecode11 = 0 ;
bool val12 ;
int ecode12 = 0 ;
void *argp13 = 0 ;
int res13 = 0 ;
bool val14 ;
int ecode14 = 0 ;
bool val15 ;
int ecode15 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if ((nobjs < 15) || (nobjs > 15)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::DualAxis const &""'");
}
arg1 = reinterpret_cast< npstat::DualAxis * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleInterpolationFunctor" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DoubleInterpolationFunctor" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "4"" of type '" "npstat::DualAxis const &""'");
}
arg4 = reinterpret_cast< npstat::DualAxis * >(argp4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleInterpolationFunctor" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleInterpolationFunctor" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "7"" of type '" "npstat::DualAxis const &""'");
}
arg7 = reinterpret_cast< npstat::DualAxis * >(argp7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_DoubleInterpolationFunctor" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
ecode9 = SWIG_AsVal_bool(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_DoubleInterpolationFunctor" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_DoubleInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "10"" of type '" "npstat::DualAxis const &""'");
}
arg10 = reinterpret_cast< npstat::DualAxis * >(argp10);
ecode11 = SWIG_AsVal_bool(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_DoubleInterpolationFunctor" "', argument " "11"" of type '" "bool""'");
}
arg11 = static_cast< bool >(val11);
ecode12 = SWIG_AsVal_bool(swig_obj[11], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_DoubleInterpolationFunctor" "', argument " "12"" of type '" "bool""'");
}
arg12 = static_cast< bool >(val12);
res13 = SWIG_ConvertPtr(swig_obj[12], &argp13, SWIGTYPE_p_npstat__DualAxis, 0 | 0);
if (!SWIG_IsOK(res13)) {
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "new_DoubleInterpolationFunctor" "', argument " "13"" of type '" "npstat::DualAxis const &""'");
}
if (!argp13) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleInterpolationFunctor" "', argument " "13"" of type '" "npstat::DualAxis const &""'");
}
arg13 = reinterpret_cast< npstat::DualAxis * >(argp13);
ecode14 = SWIG_AsVal_bool(swig_obj[13], &val14);
if (!SWIG_IsOK(ecode14)) {
SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "new_DoubleInterpolationFunctor" "', argument " "14"" of type '" "bool""'");
}
arg14 = static_cast< bool >(val14);
ecode15 = SWIG_AsVal_bool(swig_obj[14], &val15);
if (!SWIG_IsOK(ecode15)) {
SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "new_DoubleInterpolationFunctor" "', argument " "15"" of type '" "bool""'");
}
arg15 = static_cast< bool >(val15);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)new npstat::StorableInterpolationFunctor< double,npstat::DualAxis >((npstat::DualAxis const &)*arg1,arg2,arg3,(npstat::DualAxis const &)*arg4,arg5,arg6,(npstat::DualAxis const &)*arg7,arg8,arg9,(npstat::DualAxis const &)*arg10,arg11,arg12,(npstat::DualAxis const &)*arg13,arg14,arg15);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleInterpolationFunctor(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[17] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleInterpolationFunctor", 0, 16, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleInterpolationFunctor__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_DoubleInterpolationFunctor__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > >**)(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_DoubleInterpolationFunctor__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleInterpolationFunctor__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleInterpolationFunctor__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[6], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleInterpolationFunctor__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleInterpolationFunctor__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[9], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleInterpolationFunctor__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleInterpolationFunctor__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 13) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[12], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleInterpolationFunctor__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 15) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleInterpolationFunctor__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 16) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(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_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[11], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[12], 0, SWIGTYPE_p_npstat__DualAxis, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[13], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[14], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[15], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DoubleInterpolationFunctor__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleInterpolationFunctor'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(std::vector< npstat::DualAxis,std::allocator< npstat::DualAxis > > const &,std::vector< std::pair< bool,bool >,std::allocator< std::pair< bool,bool > > > const &)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,char const *)\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::StorableInterpolationFunctor(npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool,npstat::DualAxis const &,bool,bool)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleInterpolationFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *) 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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleInterpolationFunctor" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::DualAxis > * >(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_DoubleInterpolationFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *) 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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInterpolationFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::DualAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableInterpolationFunctor< double,npstat::DualAxis > 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_DoubleInterpolationFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *) 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, "DoubleInterpolationFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInterpolationFunctor___call__" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::DualAxis > * >(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 '" "DoubleInterpolationFunctor___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 '" "DoubleInterpolationFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableInterpolationFunctor< double,npstat::DualAxis > 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_DoubleInterpolationFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::DualAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_double_npstat__DualAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleInterpolationFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInterpolationFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::DualAxis > * >(argp1);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::Table *) &((npstat::StorableInterpolationFunctor< double,npstat::DualAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinInterpolatedTableNDT_double_npstat__DualAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleInterpolationFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleInterpolationFunctor_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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleInterpolationFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleInterpolationFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleInterpolationFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::interpolator()\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleInterpolationFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *) 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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::DualAxis > * >(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_DoubleInterpolationFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *) 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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInterpolationFunctor_table" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::DualAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &((npstat::StorableInterpolationFunctor< double,npstat::DualAxis > 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_DoubleInterpolationFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleInterpolationFunctor_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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleInterpolationFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleInterpolationFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleInterpolationFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::table()\n"
" npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleInterpolationFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *) 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, "DoubleInterpolationFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInterpolationFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::DualAxis > * >(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 '" "DoubleInterpolationFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleInterpolationFunctor_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_DoubleInterpolationFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *) 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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInterpolationFunctor_classId" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::DualAxis > * >(argp1);
{
try {
result = ((npstat::StorableInterpolationFunctor< double,npstat::DualAxis > 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_DoubleInterpolationFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *arg1 = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *) 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, "DoubleInterpolationFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleInterpolationFunctor_write" "', argument " "1"" of type '" "npstat::StorableInterpolationFunctor< double,npstat::DualAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableInterpolationFunctor< double,npstat::DualAxis > * >(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 '" "DoubleInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleInterpolationFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableInterpolationFunctor< double,npstat::DualAxis > 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_DoubleInterpolationFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleInterpolationFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::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_DoubleInterpolationFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DoubleInterpolationFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::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_DoubleInterpolationFunctor_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::StorableInterpolationFunctor< double,npstat::DualAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleInterpolationFunctor_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 '" "DoubleInterpolationFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleInterpolationFunctor_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 '" "DoubleInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleInterpolationFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableInterpolationFunctor< double,npstat::DualAxis > *)npstat::StorableInterpolationFunctor< double,npstat::DualAxis >::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__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleInterpolationFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableInterpolationFunctorT_double_npstat__DualAxis_npstat__SameT_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleInterpolationFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_GaussianCopula(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Matrix< double > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::GaussianCopula *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
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_GaussianCopula" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GaussianCopula" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
arg1 = reinterpret_cast< npstat::Matrix< double > * >(argp1);
{
try {
result = (npstat::GaussianCopula *)new npstat::GaussianCopula((npstat::Matrix< double > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianCopula, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_GaussianCopula(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianCopula *arg1 = (npstat::GaussianCopula *) 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__GaussianCopula, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GaussianCopula" "', argument " "1"" of type '" "npstat::GaussianCopula *""'");
}
arg1 = reinterpret_cast< npstat::GaussianCopula * >(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_GaussianCopula_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianCopula *arg1 = (npstat::GaussianCopula *) 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, "GaussianCopula_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianCopula_density" "', argument " "1"" of type '" "npstat::GaussianCopula const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianCopula * >(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::GaussianCopula 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_GaussianCopula_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianCopula *arg1 = (npstat::GaussianCopula *) 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, "GaussianCopula_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianCopula_unitMap" "', argument " "1"" of type '" "npstat::GaussianCopula const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianCopula * >(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 '" "GaussianCopula_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 '" "GaussianCopula_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 '" "GaussianCopula_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::GaussianCopula 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_GaussianCopula_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianCopula *arg1 = (npstat::GaussianCopula *) 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__GaussianCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianCopula_mappedByQuantiles" "', argument " "1"" of type '" "npstat::GaussianCopula const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianCopula * >(argp1);
{
try {
result = (bool)((npstat::GaussianCopula 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_GaussianCopula_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianCopula *arg1 = (npstat::GaussianCopula *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::GaussianCopula *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianCopula_clone" "', argument " "1"" of type '" "npstat::GaussianCopula const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianCopula * >(argp1);
{
try {
result = (npstat::GaussianCopula *)((npstat::GaussianCopula const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianCopula, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianCopula_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianCopula *arg1 = (npstat::GaussianCopula *) 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__GaussianCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianCopula_classId" "', argument " "1"" of type '" "npstat::GaussianCopula const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianCopula * >(argp1);
{
try {
result = ((npstat::GaussianCopula 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_GaussianCopula_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianCopula *arg1 = (npstat::GaussianCopula *) 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, "GaussianCopula_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianCopula_write" "', argument " "1"" of type '" "npstat::GaussianCopula const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianCopula * >(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 '" "GaussianCopula_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianCopula_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::GaussianCopula 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_GaussianCopula_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GaussianCopula_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::GaussianCopula::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_GaussianCopula_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "GaussianCopula_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::GaussianCopula::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_GaussianCopula_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::GaussianCopula *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GaussianCopula_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 '" "GaussianCopula_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianCopula_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 '" "GaussianCopula_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianCopula_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::GaussianCopula *)npstat::GaussianCopula::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__GaussianCopula, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *GaussianCopula_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__GaussianCopula, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *GaussianCopula_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FGMCopula(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
unsigned int val1 ;
int ecode1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
npstat::FGMCopula *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FGMCopula", 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_FGMCopula" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
{
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 = (npstat::FGMCopula *)new npstat::FGMCopula(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__FGMCopula, 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_delete_FGMCopula(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::FGMCopula *arg1 = (npstat::FGMCopula *) 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__FGMCopula, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FGMCopula" "', argument " "1"" of type '" "npstat::FGMCopula *""'");
}
arg1 = reinterpret_cast< npstat::FGMCopula * >(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_FGMCopula_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::FGMCopula *arg1 = (npstat::FGMCopula *) 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, "FGMCopula_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__FGMCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FGMCopula_density" "', argument " "1"" of type '" "npstat::FGMCopula const *""'");
}
arg1 = reinterpret_cast< npstat::FGMCopula * >(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::FGMCopula 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_FGMCopula_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::FGMCopula *arg1 = (npstat::FGMCopula *) 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, "FGMCopula_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__FGMCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FGMCopula_unitMap" "', argument " "1"" of type '" "npstat::FGMCopula const *""'");
}
arg1 = reinterpret_cast< npstat::FGMCopula * >(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 '" "FGMCopula_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 '" "FGMCopula_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 '" "FGMCopula_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::FGMCopula 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_FGMCopula_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::FGMCopula *arg1 = (npstat::FGMCopula *) 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__FGMCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FGMCopula_mappedByQuantiles" "', argument " "1"" of type '" "npstat::FGMCopula const *""'");
}
arg1 = reinterpret_cast< npstat::FGMCopula * >(argp1);
{
try {
result = (bool)((npstat::FGMCopula 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_FGMCopula_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::FGMCopula *arg1 = (npstat::FGMCopula *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::FGMCopula *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__FGMCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FGMCopula_clone" "', argument " "1"" of type '" "npstat::FGMCopula const *""'");
}
arg1 = reinterpret_cast< npstat::FGMCopula * >(argp1);
{
try {
result = (npstat::FGMCopula *)((npstat::FGMCopula const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__FGMCopula, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FGMCopula_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::FGMCopula *arg1 = (npstat::FGMCopula *) 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__FGMCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FGMCopula_classId" "', argument " "1"" of type '" "npstat::FGMCopula const *""'");
}
arg1 = reinterpret_cast< npstat::FGMCopula * >(argp1);
{
try {
result = ((npstat::FGMCopula 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_FGMCopula_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::FGMCopula *arg1 = (npstat::FGMCopula *) 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, "FGMCopula_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__FGMCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FGMCopula_write" "', argument " "1"" of type '" "npstat::FGMCopula const *""'");
}
arg1 = reinterpret_cast< npstat::FGMCopula * >(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 '" "FGMCopula_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FGMCopula_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::FGMCopula 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_FGMCopula_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FGMCopula_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::FGMCopula::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_FGMCopula_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "FGMCopula_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::FGMCopula::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_FGMCopula_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::FGMCopula *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FGMCopula_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 '" "FGMCopula_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FGMCopula_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 '" "FGMCopula_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FGMCopula_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::FGMCopula *)npstat::FGMCopula::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__FGMCopula, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FGMCopula_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__FGMCopula, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FGMCopula_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_TCopula(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Matrix< double > *arg1 = 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::TCopula *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_TCopula", 2, 2, swig_obj)) 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_TCopula" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TCopula" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
arg1 = reinterpret_cast< npstat::Matrix< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TCopula" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (npstat::TCopula *)new npstat::TCopula((npstat::Matrix< 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__TCopula, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_TCopula(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TCopula *arg1 = (npstat::TCopula *) 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__TCopula, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TCopula" "', argument " "1"" of type '" "npstat::TCopula *""'");
}
arg1 = reinterpret_cast< npstat::TCopula * >(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_TCopula_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TCopula *arg1 = (npstat::TCopula *) 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, "TCopula_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TCopula_density" "', argument " "1"" of type '" "npstat::TCopula const *""'");
}
arg1 = reinterpret_cast< npstat::TCopula * >(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::TCopula 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_TCopula_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TCopula *arg1 = (npstat::TCopula *) 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, "TCopula_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TCopula_unitMap" "', argument " "1"" of type '" "npstat::TCopula const *""'");
}
arg1 = reinterpret_cast< npstat::TCopula * >(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 '" "TCopula_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 '" "TCopula_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 '" "TCopula_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::TCopula 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_TCopula_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TCopula *arg1 = (npstat::TCopula *) 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__TCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TCopula_mappedByQuantiles" "', argument " "1"" of type '" "npstat::TCopula const *""'");
}
arg1 = reinterpret_cast< npstat::TCopula * >(argp1);
{
try {
result = (bool)((npstat::TCopula 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_TCopula_nDegreesOfFreedom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TCopula *arg1 = (npstat::TCopula *) 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__TCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TCopula_nDegreesOfFreedom" "', argument " "1"" of type '" "npstat::TCopula const *""'");
}
arg1 = reinterpret_cast< npstat::TCopula * >(argp1);
{
try {
result = (double)((npstat::TCopula const *)arg1)->nDegreesOfFreedom();
} 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_TCopula_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TCopula *arg1 = (npstat::TCopula *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::TCopula *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TCopula_clone" "', argument " "1"" of type '" "npstat::TCopula const *""'");
}
arg1 = reinterpret_cast< npstat::TCopula * >(argp1);
{
try {
result = (npstat::TCopula *)((npstat::TCopula const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__TCopula, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TCopula_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TCopula *arg1 = (npstat::TCopula *) 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__TCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TCopula_classId" "', argument " "1"" of type '" "npstat::TCopula const *""'");
}
arg1 = reinterpret_cast< npstat::TCopula * >(argp1);
{
try {
result = ((npstat::TCopula 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_TCopula_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TCopula *arg1 = (npstat::TCopula *) 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, "TCopula_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TCopula, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TCopula_write" "', argument " "1"" of type '" "npstat::TCopula const *""'");
}
arg1 = reinterpret_cast< npstat::TCopula * >(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 '" "TCopula_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TCopula_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::TCopula 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_TCopula_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "TCopula_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::TCopula::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_TCopula_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "TCopula_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::TCopula::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_TCopula_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::TCopula *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "TCopula_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 '" "TCopula_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TCopula_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 '" "TCopula_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TCopula_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::TCopula *)npstat::TCopula::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__TCopula, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *TCopula_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__TCopula, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *TCopula_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_OSDE1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsClassicalOrthoPoly1D *arg1 = 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
npstat::OSDE1D *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OSDE1D" "', argument " "1"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OSDE1D" "', argument " "1"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsClassicalOrthoPoly1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_OSDE1D" "', 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_OSDE1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::OSDE1D *)new npstat::OSDE1D((npstat::AbsClassicalOrthoPoly1D 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__OSDE1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_OSDE1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::OSDE1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__OSDE1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OSDE1D" "', argument " "1"" of type '" "npstat::OSDE1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_OSDE1D" "', argument " "1"" of type '" "npstat::OSDE1D const &""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
{
try {
result = (npstat::OSDE1D *)new npstat::OSDE1D((npstat::OSDE1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__OSDE1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_OSDE1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_OSDE1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__OSDE1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_OSDE1D__SWIG_1(self, argc, argv);
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 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_OSDE1D__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_OSDE1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::OSDE1D::OSDE1D(npstat::AbsClassicalOrthoPoly1D const &,double,double)\n"
" npstat::OSDE1D::OSDE1D(npstat::OSDE1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_OSDE1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 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__OSDE1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OSDE1D" "', argument " "1"" of type '" "npstat::OSDE1D *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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_OSDE1D_clpoly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsClassicalOrthoPoly1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_clpoly" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
{
try {
result = (npstat::AbsClassicalOrthoPoly1D *) &((npstat::OSDE1D const *)arg1)->clpoly();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_xmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 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__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_xmin" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
{
try {
result = (double)((npstat::OSDE1D 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_OSDE1D_xmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 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__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_xmax" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
{
try {
result = (double)((npstat::OSDE1D 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_OSDE1D_weight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 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, "OSDE1D_weight", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_weight" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OSDE1D_weight" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::OSDE1D const *)arg1)->weight(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_OSDE1D_poly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 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, "OSDE1D_poly", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_poly" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OSDE1D_poly" "', 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 '" "OSDE1D_poly" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::OSDE1D const *)arg1)->poly(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_OSDE1D_twopoly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
std::pair< double,double > result;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_twopoly", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_twopoly" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OSDE1D_twopoly" "', 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 '" "OSDE1D_twopoly" "', 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 '" "OSDE1D_twopoly" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = ((npstat::OSDE1D const *)arg1)->twopoly(arg2,arg3,arg4);
} 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_OSDE1D_integratePoly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 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, "OSDE1D_integratePoly", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_integratePoly" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OSDE1D_integratePoly" "', 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 '" "OSDE1D_integratePoly" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::OSDE1D const *)arg1)->integratePoly(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_OSDE1D_jointIntegral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 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] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_jointIntegral", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_jointIntegral" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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 = (double)((npstat::OSDE1D const *)arg1)->jointIntegral((unsigned int 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_OSDE1D_tMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::Matrix< double > result;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_tMatrix", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_tMatrix" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OSDE1D_tMatrix" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = ((npstat::OSDE1D const *)arg1)->tMatrix(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_OSDE1D_supportRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsClassicalOrthoPoly1D *arg1 = 0 ;
double arg2 ;
bool arg3 ;
double arg4 ;
bool arg5 ;
unsigned long arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
std::pair< double,double > result;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_supportRegion", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_supportRegion" "', argument " "1"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_supportRegion" "', argument " "1"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsClassicalOrthoPoly1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OSDE1D_supportRegion" "', 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 '" "OSDE1D_supportRegion" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OSDE1D_supportRegion" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "OSDE1D_supportRegion" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "OSDE1D_supportRegion" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
{
try {
result = npstat::OSDE1D::supportRegion((npstat::AbsClassicalOrthoPoly1D const &)*arg1,arg2,arg3,arg4,arg5,arg6);
} 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_OSDE1D_integrateSeries(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 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, "OSDE1D_integrateSeries", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_integrateSeries" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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::OSDE1D const *)arg1)->integrateSeries_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_OSDE1D_series(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_series", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_series" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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_double(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OSDE1D_series" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::OSDE1D const *)arg1)->series_2((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_OSDE1D_seriesScan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[3] ;
PyObject *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_seriesScan", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_seriesScan" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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_unsigned_SS_int(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "OSDE1D_seriesScan" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (PyObject *)((npstat::OSDE1D const *)arg1)->seriesScan((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_OSDE1D_densityCoeffs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *array4 = NULL ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_densityCoeffs", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_densityCoeffs" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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 '" "OSDE1D_densityCoeffs" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_densityCoeffs" "', 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 '" "OSDE1D_densityCoeffs" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
npy_intp dims[1];
if (!PyInt_Check(swig_obj[3]))
{
const char* typestring = pytype_string(swig_obj[3]);
PyErr_Format(PyExc_TypeError,
"Int dimension expected. '%s' given.",
typestring);
SWIG_fail;
}
arg5 = (int) PyInt_AsLong(swig_obj[3]);
dims[0] = (npy_intp) arg5;
array4 = PyArray_SimpleNew(1, dims, NPY_DOUBLE);
if (!array4) SWIG_fail;
arg4 = (double*) array_data(array4);
}
{
try {
((npstat::OSDE1D const *)arg1)->densityCoeffs_2((npstat::AbsDistribution1D const &)*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
resultobj = SWIG_Python_AppendOutput(resultobj,(PyObject*)array4);
}
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_densityCoeffsVariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
double 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 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
double val6 ;
int ecode6 = 0 ;
PyObject *array7 = NULL ;
PyObject *swig_obj[6] ;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_densityCoeffsVariance", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_densityCoeffsVariance" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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 '" "OSDE1D_densityCoeffsVariance" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_densityCoeffsVariance" "', 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 '" "OSDE1D_densityCoeffsVariance" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(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 '" "OSDE1D_densityCoeffsVariance" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
npy_intp dims[1];
if (!PyInt_Check(swig_obj[5]))
{
const char* typestring = pytype_string(swig_obj[5]);
PyErr_Format(PyExc_TypeError,
"Int dimension expected. '%s' given.",
typestring);
SWIG_fail;
}
arg8 = (int) PyInt_AsLong(swig_obj[5]);
dims[0] = (npy_intp) arg8;
array7 = PyArray_SimpleNew(1, dims, NPY_DOUBLE);
if (!array7) SWIG_fail;
arg7 = (double*) array_data(array7);
}
{
try {
((npstat::OSDE1D const *)arg1)->densityCoeffsVariance_2((npstat::AbsDistribution1D const &)*arg2,arg3,(double const *)arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
resultobj = SWIG_Python_AppendOutput(resultobj,(PyObject*)array7);
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_densityCoeffsCovariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
double arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
double val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[5] ;
npstat::Matrix< double,16U > result;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_densityCoeffsCovariance", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_densityCoeffsCovariance" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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 '" "OSDE1D_densityCoeffsCovariance" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_densityCoeffsCovariance" "', 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 '" "OSDE1D_densityCoeffsCovariance" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(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 '" "OSDE1D_densityCoeffsCovariance" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = ((npstat::OSDE1D const *)arg1)->densityCoeffsCovariance_2((npstat::AbsDistribution1D const &)*arg2,arg3,(double const *)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 );
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_optimalDegreeHart__SWIG_0(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 ;
unsigned int result;
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 '" "OSDE1D_optimalDegreeHart" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (unsigned int)npstat::OSDE1D::optimalDegreeHart_2((double const *)arg1,arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(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_OSDE1D_optimalDegreeHart__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 ;
unsigned int result;
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 = (unsigned int)npstat::OSDE1D::optimalDegreeHart_2((double const *)arg1,arg2,(double const *)arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(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_OSDE1D_optimalDegreeHart(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "OSDE1D_optimalDegreeHart", 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_OSDE1D_optimalDegreeHart__SWIG_1(self, argc, argv);
}
return _wrap_OSDE1D_optimalDegreeHart__SWIG_1(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_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_OSDE1D_optimalDegreeHart__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'OSDE1D_optimalDegreeHart'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::OSDE1D::optimalDegreeHart_2(double const *,unsigned int,double const *,unsigned int,double)\n"
" npstat::OSDE1D::optimalDegreeHart_2(double const *,unsigned int,double const *,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_OSDE1D_calculateCoeffs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::GaussLegendreQuadrature *arg3 = 0 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *array4 = NULL ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_calculateCoeffs", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_calculateCoeffs" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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 '" "OSDE1D_calculateCoeffs" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_calculateCoeffs" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__GaussLegendreQuadrature, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OSDE1D_calculateCoeffs" "', argument " "3"" of type '" "npstat::GaussLegendreQuadrature const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_calculateCoeffs" "', argument " "3"" of type '" "npstat::GaussLegendreQuadrature const &""'");
}
arg3 = reinterpret_cast< npstat::GaussLegendreQuadrature * >(argp3);
{
npy_intp dims[1];
if (!PyInt_Check(swig_obj[3]))
{
const char* typestring = pytype_string(swig_obj[3]);
PyErr_Format(PyExc_TypeError,
"Int dimension expected. '%s' given.",
typestring);
SWIG_fail;
}
arg5 = (int) PyInt_AsLong(swig_obj[3]);
dims[0] = (npy_intp) arg5;
array4 = PyArray_SimpleNew(1, dims, NPY_DOUBLE);
if (!array4) SWIG_fail;
arg4 = (double*) array_data(array4);
}
{
try {
((npstat::OSDE1D const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR calculateCoeffs_2< npstat::GaussLegendreQuadrature >((npstat::AbsDistribution1D const &)*arg2,(npstat::GaussLegendreQuadrature const &)*arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
resultobj = SWIG_Python_AppendOutput(resultobj,(PyObject*)array4);
}
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_sampleCoeffs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
std::vector< double,std::allocator< double > > *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *array3 = NULL ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_sampleCoeffs", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_sampleCoeffs" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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 '" "OSDE1D_sampleCoeffs" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_sampleCoeffs" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg2 = ptr;
}
{
npy_intp dims[1];
if (!PyInt_Check(swig_obj[2]))
{
const char* typestring = pytype_string(swig_obj[2]);
PyErr_Format(PyExc_TypeError,
"Int dimension expected. '%s' given.",
typestring);
SWIG_fail;
}
arg4 = (int) PyInt_AsLong(swig_obj[2]);
dims[0] = (npy_intp) arg4;
array3 = PyArray_SimpleNew(1, dims, NPY_DOUBLE);
if (!array3) SWIG_fail;
arg3 = (double*) array_data(array3);
}
{
try {
((npstat::OSDE1D const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR sampleCoeffs_2< std::vector< double > >((std::vector< double,std::allocator< double > > const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
resultobj = SWIG_Python_AppendOutput(resultobj,(PyObject*)array3);
}
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_sampleCoeffsVariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
std::vector< double,std::allocator< double > > *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double *arg5 = (double *) 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyObject *array5 = NULL ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_sampleCoeffsVariance", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_sampleCoeffsVariance" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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 '" "OSDE1D_sampleCoeffsVariance" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_sampleCoeffsVariance" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg2 = ptr;
}
{
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);
}
{
npy_intp dims[1];
if (!PyInt_Check(swig_obj[3]))
{
const char* typestring = pytype_string(swig_obj[3]);
PyErr_Format(PyExc_TypeError,
"Int dimension expected. '%s' given.",
typestring);
SWIG_fail;
}
arg6 = (int) PyInt_AsLong(swig_obj[3]);
dims[0] = (npy_intp) arg6;
array5 = PyArray_SimpleNew(1, dims, NPY_DOUBLE);
if (!array5) SWIG_fail;
arg5 = (double*) array_data(array5);
}
{
try {
((npstat::OSDE1D const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR sampleCoeffsVariance_2< std::vector< double > >((std::vector< double,std::allocator< double > > const &)*arg2,(double const *)arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
resultobj = SWIG_Python_AppendOutput(resultobj,(PyObject*)array5);
}
if (SWIG_IsNewObj(res2)) delete arg2;
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_sampleCoeffsCovariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
std::vector< double,std::allocator< double > > *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyObject *swig_obj[3] ;
npstat::Matrix< double,16U > result;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_sampleCoeffsCovariance", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_sampleCoeffsCovariance" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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 '" "OSDE1D_sampleCoeffsCovariance" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_sampleCoeffsCovariance" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg2 = ptr;
}
{
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);
}
{
try {
result = ((npstat::OSDE1D const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR sampleCoeffsCovariance_2< std::vector< double > >((std::vector< double,std::allocator< double > > const &)*arg2,(double const *)arg3,arg4);
} 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 );
if (SWIG_IsNewObj(res2)) delete arg2;
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_weightedSampleCoeffs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *array3 = NULL ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_weightedSampleCoeffs", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_weightedSampleCoeffs" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
{
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;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OSDE1D_weightedSampleCoeffs" "', argument " "2"" 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 '" "OSDE1D_weightedSampleCoeffs" "', argument " "2"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg2 = ptr;
}
{
npy_intp dims[1];
if (!PyInt_Check(swig_obj[2]))
{
const char* typestring = pytype_string(swig_obj[2]);
PyErr_Format(PyExc_TypeError,
"Int dimension expected. '%s' given.",
typestring);
SWIG_fail;
}
arg4 = (int) PyInt_AsLong(swig_obj[2]);
dims[0] = (npy_intp) arg4;
array3 = PyArray_SimpleNew(1, dims, NPY_DOUBLE);
if (!array3) SWIG_fail;
arg3 = (double*) array_data(array3);
}
{
try {
((npstat::OSDE1D const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR weightedSampleCoeffs_2< std::vector< std::pair< double,double > > >((std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
resultobj = SWIG_Python_AppendOutput(resultobj,(PyObject*)array3);
}
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_weightedSampleCoeffsVariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double *arg5 = (double *) 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyObject *array5 = NULL ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_weightedSampleCoeffsVariance", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_weightedSampleCoeffsVariance" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
{
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;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OSDE1D_weightedSampleCoeffsVariance" "', argument " "2"" 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 '" "OSDE1D_weightedSampleCoeffsVariance" "', argument " "2"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg2 = ptr;
}
{
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);
}
{
npy_intp dims[1];
if (!PyInt_Check(swig_obj[3]))
{
const char* typestring = pytype_string(swig_obj[3]);
PyErr_Format(PyExc_TypeError,
"Int dimension expected. '%s' given.",
typestring);
SWIG_fail;
}
arg6 = (int) PyInt_AsLong(swig_obj[3]);
dims[0] = (npy_intp) arg6;
array5 = PyArray_SimpleNew(1, dims, NPY_DOUBLE);
if (!array5) SWIG_fail;
arg5 = (double*) array_data(array5);
}
{
try {
((npstat::OSDE1D const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR weightedSampleCoeffsVariance_2< std::vector< std::pair< double,double > > >((std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg2,(double const *)arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
resultobj = SWIG_Python_AppendOutput(resultobj,(PyObject*)array5);
}
if (SWIG_IsNewObj(res2)) delete arg2;
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_weightedSampleCoeffsCovariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyObject *swig_obj[3] ;
npstat::Matrix< double,16U > result;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_weightedSampleCoeffsCovariance", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_weightedSampleCoeffsCovariance" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(argp1);
{
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;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OSDE1D_weightedSampleCoeffsCovariance" "', argument " "2"" 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 '" "OSDE1D_weightedSampleCoeffsCovariance" "', argument " "2"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg2 = ptr;
}
{
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);
}
{
try {
result = ((npstat::OSDE1D const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR weightedSampleCoeffsCovariance_2< std::vector< std::pair< double,double > > >((std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg2,(double const *)arg3,arg4);
} 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 );
if (SWIG_IsNewObj(res2)) delete arg2;
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_OSDE1D_integratedSquaredError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::OSDE1D *arg1 = (npstat::OSDE1D *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::GaussLegendreQuadrature *arg3 = 0 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "OSDE1D_integratedSquaredError", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__OSDE1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OSDE1D_integratedSquaredError" "', argument " "1"" of type '" "npstat::OSDE1D const *""'");
}
arg1 = reinterpret_cast< npstat::OSDE1D * >(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 '" "OSDE1D_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__GaussLegendreQuadrature, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OSDE1D_integratedSquaredError" "', argument " "3"" of type '" "npstat::GaussLegendreQuadrature const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "OSDE1D_integratedSquaredError" "', argument " "3"" of type '" "npstat::GaussLegendreQuadrature const &""'");
}
arg3 = reinterpret_cast< npstat::GaussLegendreQuadrature * >(argp3);
{
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::OSDE1D const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR integratedSquaredError_2< npstat::GaussLegendreQuadrature >((npstat::AbsDistribution1D const &)*arg2,(npstat::GaussLegendreQuadrature const &)*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 *OSDE1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__OSDE1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *OSDE1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthGCVPseudoLogliND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_UCharBandwidthGCVPseudoLogliND" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *)new npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthGCVPseudoLogliND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *)new npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthGCVPseudoLogliND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_UCharBandwidthGCVPseudoLogliND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_UCharBandwidthGCVPseudoLogliND__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_UCharBandwidthGCVPseudoLogliND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_UCharBandwidthGCVPseudoLogliND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > >::BandwidthGCVPseudoLogliND(double)\n"
" npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > >::BandwidthGCVPseudoLogliND()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_UCharBandwidthGCVPseudoLogliND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_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_UCharBandwidthGCVPseudoLogliND" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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_UCharBandwidthGCVPseudoLogliND_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< 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__BandwidthGCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthGCVPseudoLogliND_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *)arg1)->getNonZeroCount();
} 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_UCharBandwidthGCVPseudoLogliND_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< 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__BandwidthGCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthGCVPseudoLogliND_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *)arg1)->getRenormCount();
} 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_UCharBandwidthGCVPseudoLogliND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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 '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVPseudoLogliND___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 '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVPseudoLogliND___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 '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVPseudoLogliND___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 '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthGCVPseudoLogliND< 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_UCharBandwidthGCVPseudoLogliND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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 '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVPseudoLogliND___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 '" "UCharBandwidthGCVPseudoLogliND___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 '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVPseudoLogliND___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 '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVPseudoLogliND___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 '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVPseudoLogliND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::BandwidthGCVPseudoLogliND< 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_UCharBandwidthGCVPseudoLogliND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "UCharBandwidthGCVPseudoLogliND___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__BandwidthGCVPseudoLogliNDT_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_UCharBandwidthGCVPseudoLogliND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_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_UCharBandwidthGCVPseudoLogliND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharBandwidthGCVPseudoLogliND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogliND< 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::BandwidthGCVPseudoLogliND< 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 *UCharBandwidthGCVPseudoLogliND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharBandwidthGCVPseudoLogliND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthGCVPseudoLogliND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_IntBandwidthGCVPseudoLogliND" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > *)new npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthGCVPseudoLogliND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > *)new npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthGCVPseudoLogliND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_IntBandwidthGCVPseudoLogliND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_IntBandwidthGCVPseudoLogliND__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_IntBandwidthGCVPseudoLogliND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_IntBandwidthGCVPseudoLogliND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > >::BandwidthGCVPseudoLogliND(double)\n"
" npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > >::BandwidthGCVPseudoLogliND()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_IntBandwidthGCVPseudoLogliND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_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_IntBandwidthGCVPseudoLogliND" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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_IntBandwidthGCVPseudoLogliND_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< 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__BandwidthGCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthGCVPseudoLogliND_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > const *)arg1)->getNonZeroCount();
} 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_IntBandwidthGCVPseudoLogliND_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< 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__BandwidthGCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthGCVPseudoLogliND_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > const *)arg1)->getRenormCount();
} 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_IntBandwidthGCVPseudoLogliND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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 '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVPseudoLogliND___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 '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVPseudoLogliND___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 '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVPseudoLogliND___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 '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthGCVPseudoLogliND< 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_IntBandwidthGCVPseudoLogliND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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 '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVPseudoLogliND___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 '" "IntBandwidthGCVPseudoLogliND___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 '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVPseudoLogliND___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 '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVPseudoLogliND___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 '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVPseudoLogliND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::BandwidthGCVPseudoLogliND< 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_IntBandwidthGCVPseudoLogliND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "IntBandwidthGCVPseudoLogliND___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__BandwidthGCVPseudoLogliNDT_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_IntBandwidthGCVPseudoLogliND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_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_IntBandwidthGCVPseudoLogliND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'IntBandwidthGCVPseudoLogliND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogliND< 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::BandwidthGCVPseudoLogliND< 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 *IntBandwidthGCVPseudoLogliND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntBandwidthGCVPseudoLogliND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthGCVPseudoLogliND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LongBandwidthGCVPseudoLogliND" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > *)new npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthGCVPseudoLogliND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > *)new npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthGCVPseudoLogliND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LongBandwidthGCVPseudoLogliND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_LongBandwidthGCVPseudoLogliND__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_LongBandwidthGCVPseudoLogliND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LongBandwidthGCVPseudoLogliND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > >::BandwidthGCVPseudoLogliND(double)\n"
" npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > >::BandwidthGCVPseudoLogliND()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_LongBandwidthGCVPseudoLogliND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_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_LongBandwidthGCVPseudoLogliND" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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_LongBandwidthGCVPseudoLogliND_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< 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__BandwidthGCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthGCVPseudoLogliND_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > const *)arg1)->getNonZeroCount();
} 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_LongBandwidthGCVPseudoLogliND_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< 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__BandwidthGCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthGCVPseudoLogliND_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > const *)arg1)->getRenormCount();
} 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_LongBandwidthGCVPseudoLogliND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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 '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVPseudoLogliND___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 '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVPseudoLogliND___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 '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVPseudoLogliND___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 '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthGCVPseudoLogliND< 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_LongBandwidthGCVPseudoLogliND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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 '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVPseudoLogliND___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 '" "LongBandwidthGCVPseudoLogliND___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 '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVPseudoLogliND___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 '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVPseudoLogliND___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 '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVPseudoLogliND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::BandwidthGCVPseudoLogliND< 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_LongBandwidthGCVPseudoLogliND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LongBandwidthGCVPseudoLogliND___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__BandwidthGCVPseudoLogliNDT_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_LongBandwidthGCVPseudoLogliND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_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_LongBandwidthGCVPseudoLogliND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LongBandwidthGCVPseudoLogliND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogliND< 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::BandwidthGCVPseudoLogliND< 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 *LongBandwidthGCVPseudoLogliND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongBandwidthGCVPseudoLogliND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthGCVPseudoLogliND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FloatBandwidthGCVPseudoLogliND" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > *)new npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthGCVPseudoLogliND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > *)new npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthGCVPseudoLogliND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_FloatBandwidthGCVPseudoLogliND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_FloatBandwidthGCVPseudoLogliND__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatBandwidthGCVPseudoLogliND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FloatBandwidthGCVPseudoLogliND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > >::BandwidthGCVPseudoLogliND(double)\n"
" npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > >::BandwidthGCVPseudoLogliND()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_FloatBandwidthGCVPseudoLogliND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_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_FloatBandwidthGCVPseudoLogliND" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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_FloatBandwidthGCVPseudoLogliND_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< 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__BandwidthGCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthGCVPseudoLogliND_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > const *)arg1)->getNonZeroCount();
} 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_FloatBandwidthGCVPseudoLogliND_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< 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__BandwidthGCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthGCVPseudoLogliND_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > const *)arg1)->getRenormCount();
} 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_FloatBandwidthGCVPseudoLogliND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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 '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVPseudoLogliND___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 '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVPseudoLogliND___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 '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVPseudoLogliND___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 '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthGCVPseudoLogliND< 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_FloatBandwidthGCVPseudoLogliND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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 '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVPseudoLogliND___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 '" "FloatBandwidthGCVPseudoLogliND___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 '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVPseudoLogliND___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 '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVPseudoLogliND___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 '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVPseudoLogliND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::BandwidthGCVPseudoLogliND< 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_FloatBandwidthGCVPseudoLogliND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatBandwidthGCVPseudoLogliND___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__BandwidthGCVPseudoLogliNDT_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_FloatBandwidthGCVPseudoLogliND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_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_FloatBandwidthGCVPseudoLogliND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatBandwidthGCVPseudoLogliND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogliND< 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::BandwidthGCVPseudoLogliND< 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 *FloatBandwidthGCVPseudoLogliND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatBandwidthGCVPseudoLogliND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthGCVPseudoLogliND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_DoubleBandwidthGCVPseudoLogliND" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > *)new npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthGCVPseudoLogliND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > *)new npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthGCVPseudoLogliND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleBandwidthGCVPseudoLogliND", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_DoubleBandwidthGCVPseudoLogliND__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleBandwidthGCVPseudoLogliND__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleBandwidthGCVPseudoLogliND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > >::BandwidthGCVPseudoLogliND(double)\n"
" npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > >::BandwidthGCVPseudoLogliND()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleBandwidthGCVPseudoLogliND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_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_DoubleBandwidthGCVPseudoLogliND" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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_DoubleBandwidthGCVPseudoLogliND_getNonZeroCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< 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__BandwidthGCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthGCVPseudoLogliND_getNonZeroCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > const *)arg1)->getNonZeroCount();
} 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_DoubleBandwidthGCVPseudoLogliND_getRenormCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< 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__BandwidthGCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthGCVPseudoLogliND_getRenormCount" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > * >(argp1);
{
try {
result = (unsigned long)((npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > const *)arg1)->getRenormCount();
} 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_DoubleBandwidthGCVPseudoLogliND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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 '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVPseudoLogliND___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 '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVPseudoLogliND___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 '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVPseudoLogliND___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 '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthGCVPseudoLogliND< 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_DoubleBandwidthGCVPseudoLogliND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVPseudoLogliND< 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__BandwidthGCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVPseudoLogliND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVPseudoLogliND< 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 '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVPseudoLogliND___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 '" "DoubleBandwidthGCVPseudoLogliND___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 '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVPseudoLogliND___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 '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVPseudoLogliND___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 '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVPseudoLogliND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::BandwidthGCVPseudoLogliND< 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_DoubleBandwidthGCVPseudoLogliND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleBandwidthGCVPseudoLogliND___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__BandwidthGCVPseudoLogliNDT_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_DoubleBandwidthGCVPseudoLogliND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_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_DoubleBandwidthGCVPseudoLogliND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleBandwidthGCVPseudoLogliND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVPseudoLogliND< 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::BandwidthGCVPseudoLogliND< 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 *DoubleBandwidthGCVPseudoLogliND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVPseudoLogliNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleBandwidthGCVPseudoLogliND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_sortVector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< unsigned char,std::allocator< unsigned char > > *arg1 = 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > &""'");
}
arg1 = reinterpret_cast< std::vector< unsigned char,std::allocator< unsigned char > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sortVector" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR sortVector< unsigned char >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sortVector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< unsigned char,std::allocator< unsigned char > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > &""'");
}
arg1 = reinterpret_cast< std::vector< unsigned char,std::allocator< unsigned char > > * >(argp1);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR sortVector< unsigned char >(*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sortVector__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< int,std::allocator< int > > *arg1 = 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > &""'");
}
arg1 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sortVector" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR sortVector< int >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sortVector__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< int,std::allocator< int > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > &""'");
}
arg1 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp1);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR sortVector< int >(*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sortVector__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< long,std::allocator< long > > *arg1 = 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > &""'");
}
arg1 = reinterpret_cast< std::vector< long,std::allocator< long > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sortVector" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR sortVector< long >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sortVector__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< long,std::allocator< long > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > &""'");
}
arg1 = reinterpret_cast< std::vector< long,std::allocator< long > > * >(argp1);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR sortVector< long >(*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sortVector__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< float,std::allocator< float > > *arg1 = 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > &""'");
}
arg1 = reinterpret_cast< std::vector< float,std::allocator< float > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sortVector" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR sortVector< float >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sortVector__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< float,std::allocator< float > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > &""'");
}
arg1 = reinterpret_cast< std::vector< float,std::allocator< float > > * >(argp1);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR sortVector< float >(*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sortVector__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< double,std::allocator< double > > *arg1 = 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > &""'");
}
arg1 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sortVector" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR sortVector< double >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sortVector__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< double,std::allocator< double > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortVector" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > &""'");
}
arg1 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp1);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR sortVector< double >(*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sortVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "sortVector", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_sortVector__SWIG_3(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_sortVector__SWIG_5(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_sortVector__SWIG_7(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_sortVector__SWIG_9(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_sortVector__SWIG_11(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_sortVector__SWIG_4(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_sortVector__SWIG_8(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_sortVector__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_sortVector__SWIG_10(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_sortVector__SWIG_6(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'sortVector'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::sortVector< unsigned char >(std::vector< unsigned char,std::allocator< unsigned char > > &,bool const)\n"
" npstat::sortVector< unsigned char >(std::vector< unsigned char,std::allocator< unsigned char > > &)\n"
" npstat::sortVector< int >(std::vector< int,std::allocator< int > > &,bool const)\n"
" npstat::sortVector< int >(std::vector< int,std::allocator< int > > &)\n"
" npstat::sortVector< long >(std::vector< long,std::allocator< long > > &,bool const)\n"
" npstat::sortVector< long >(std::vector< long,std::allocator< long > > &)\n"
" npstat::sortVector< float >(std::vector< float,std::allocator< float > > &,bool const)\n"
" npstat::sortVector< float >(std::vector< float,std::allocator< float > > &)\n"
" npstat::sortVector< double >(std::vector< double,std::allocator< double > > &,bool const)\n"
" npstat::sortVector< double >(std::vector< double,std::allocator< double > > &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_sortedVector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< unsigned char,std::allocator< unsigned char > > *arg1 = 0 ;
bool arg2 ;
int res1 = SWIG_OLDOBJ ;
bool val2 ;
int ecode2 = 0 ;
std::vector< unsigned char,std::allocator< unsigned char > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sortedVector" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR sortedVector< unsigned char >((std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned char,std::allocator< unsigned char > > >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_sortedVector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< unsigned char,std::allocator< unsigned char > > *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
std::vector< unsigned char,std::allocator< unsigned char > > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
{
std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'");
}
arg1 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR sortedVector< unsigned char >((std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned char,std::allocator< unsigned char > > >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_sortedVector__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< int,std::allocator< int > > *arg1 = 0 ;
bool arg2 ;
int res1 = SWIG_OLDOBJ ;
bool val2 ;
int ecode2 = 0 ;
std::vector< int,std::allocator< int > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sortedVector" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR sortedVector< int >((std::vector< int,std::allocator< int > > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< int,std::allocator< int > > >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_sortedVector__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< int,std::allocator< int > > *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
std::vector< int,std::allocator< int > > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
{
std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
arg1 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR sortedVector< int >((std::vector< int,std::allocator< int > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< int,std::allocator< int > > >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_sortedVector__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< long,std::allocator< long > > *arg1 = 0 ;
bool arg2 ;
int res1 = SWIG_OLDOBJ ;
bool val2 ;
int ecode2 = 0 ;
std::vector< long,std::allocator< long > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< long,std::allocator< long > > *ptr = (std::vector< long,std::allocator< long > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sortedVector" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR sortedVector< long >((std::vector< long,std::allocator< long > > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< long,std::allocator< long > > >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_sortedVector__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< long,std::allocator< long > > *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
std::vector< long,std::allocator< long > > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
{
std::vector< long,std::allocator< long > > *ptr = (std::vector< long,std::allocator< long > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > const &""'");
}
arg1 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR sortedVector< long >((std::vector< long,std::allocator< long > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< long,std::allocator< long > > >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_sortedVector__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< float,std::allocator< float > > *arg1 = 0 ;
bool arg2 ;
int res1 = SWIG_OLDOBJ ;
bool val2 ;
int ecode2 = 0 ;
std::vector< float,std::allocator< 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 '" "sortedVector" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sortedVector" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR sortedVector< float >((std::vector< float,std::allocator< float > > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< float,std::allocator< float > > >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_sortedVector__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< float,std::allocator< float > > *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
std::vector< float,std::allocator< float > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "sortedVector" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
arg1 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR sortedVector< float >((std::vector< float,std::allocator< float > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< float,std::allocator< float > > >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_sortedVector__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< double,std::allocator< double > > *arg1 = 0 ;
bool arg2 ;
int res1 = SWIG_OLDOBJ ;
bool val2 ;
int ecode2 = 0 ;
std::vector< double,std::allocator< 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 '" "sortedVector" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sortedVector" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR sortedVector< double >((std::vector< double,std::allocator< double > > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_sortedVector__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< double,std::allocator< double > > *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
std::vector< double,std::allocator< double > > result;
if ((nobjs < 1) || (nobjs > 1)) 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 '" "sortedVector" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sortedVector" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg1 = ptr;
}
{
try {
result = npstat::SWIGTEMPLATEDISAMBIGUATOR sortedVector< double >((std::vector< double,std::allocator< double > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_sortedVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "sortedVector", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = swig::asptr(argv[0], (std::vector< unsigned char,std::allocator< unsigned char > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_sortedVector__SWIG_3(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_sortedVector__SWIG_5(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = swig::asptr(argv[0], (std::vector< long,std::allocator< long > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_sortedVector__SWIG_7(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = swig::asptr(argv[0], (std::vector< float,std::allocator< float > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_sortedVector__SWIG_9(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_sortedVector__SWIG_11(self, argc, argv);
}
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_sortedVector__SWIG_4(self, argc, argv);
}
}
}
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_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_sortedVector__SWIG_8(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< unsigned char,std::allocator< unsigned char > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_sortedVector__SWIG_2(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_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_sortedVector__SWIG_10(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< long,std::allocator< long > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_sortedVector__SWIG_6(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'sortedVector'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::sortedVector< unsigned char >(std::vector< unsigned char,std::allocator< unsigned char > > const &,bool const)\n"
" npstat::sortedVector< unsigned char >(std::vector< unsigned char,std::allocator< unsigned char > > const &)\n"
" npstat::sortedVector< int >(std::vector< int,std::allocator< int > > const &,bool const)\n"
" npstat::sortedVector< int >(std::vector< int,std::allocator< int > > const &)\n"
" npstat::sortedVector< long >(std::vector< long,std::allocator< long > > const &,bool const)\n"
" npstat::sortedVector< long >(std::vector< long,std::allocator< long > > const &)\n"
" npstat::sortedVector< float >(std::vector< float,std::allocator< float > > const &,bool const)\n"
" npstat::sortedVector< float >(std::vector< float,std::allocator< float > > const &)\n"
" npstat::sortedVector< double >(std::vector< double,std::allocator< double > > const &,bool const)\n"
" npstat::sortedVector< double >(std::vector< double,std::allocator< double > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_numpyArrayType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
PyObject *arg1 = (PyObject *) 0 ;
PyObject *swig_obj[1] ;
int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
arg1 = swig_obj[0];
{
try {
result = (int)npstat::numpyArrayType(arg1);
} 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_isNumpyShapeCompatible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
PyObject *arg1 = (PyObject *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "isNumpyShapeCompatible", 2, 2, swig_obj)) SWIG_fail;
arg1 = swig_obj[0];
{
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 = (bool)npstat::isNumpyShapeCompatible(arg1,(unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(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_linearNumpyArrayElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
PyObject *arg1 = (PyObject *) 0 ;
unsigned long arg2 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
PyObject *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "linearNumpyArrayElement", 2, 2, swig_obj)) SWIG_fail;
arg1 = swig_obj[0];
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "linearNumpyArrayElement" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (PyObject *)npstat::linearNumpyArrayElement(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_sumOfSquaredDifferences(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
PyObject *arg1 = (PyObject *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "sumOfSquaredDifferences", 2, 2, swig_obj)) SWIG_fail;
arg1 = swig_obj[0];
arg2 = swig_obj[1];
{
try {
result = (double)npstat::sumOfSquaredDifferences(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_new_ArchiveValueRecord_SCharVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< signed char,std::allocator< signed char > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< signed char > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveValueRecord_SCharVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< signed char,std::allocator< signed char > > *ptr = (std::vector< signed char,std::allocator< signed char > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveValueRecord_SCharVector" "', argument " "1"" of type '" "std::vector< signed char,std::allocator< signed char > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveValueRecord_SCharVector" "', argument " "1"" of type '" "std::vector< signed char,std::allocator< signed char > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveValueRecord_SCharVector" "', 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_ArchiveValueRecord_SCharVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveValueRecord< std::vector< signed char > > *)new gs::ArchiveValueRecord< std::vector< signed char > >((std::vector< signed char,std::allocator< signed char > > 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__ArchiveValueRecordT_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveValueRecord_SCharVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveValueRecord< std::vector< signed char > > *arg1 = (gs::ArchiveValueRecord< std::vector< signed 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_gs__ArchiveValueRecordT_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveValueRecord_SCharVector" "', argument " "1"" of type '" "gs::ArchiveValueRecord< std::vector< signed char > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveValueRecord< std::vector< signed 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 *ArchiveValueRecord_SCharVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveValueRecord_SCharVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPValueRecord_SCharVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< signed char,std::allocator< signed char > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< gs::ArchiveValueRecord< std::vector< signed char,std::allocator< signed char > > > > result;
if (!SWIG_Python_UnpackTuple(args, "NPValueRecord_SCharVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< signed char,std::allocator< signed char > > *ptr = (std::vector< signed char,std::allocator< signed char > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPValueRecord_SCharVector" "', argument " "1"" of type '" "std::vector< signed char,std::allocator< signed char > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPValueRecord_SCharVector" "', argument " "1"" of type '" "std::vector< signed char,std::allocator< signed char > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPValueRecord_SCharVector" "', 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 '" "NPValueRecord_SCharVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR ValueRecord< std::vector< signed char > >((std::vector< signed char,std::allocator< signed char > > const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveValueRecord< std::vector< signed char,std::allocator< signed char > > >(static_cast< const gs::ArchiveValueRecord< std::vector< signed char,std::allocator< signed char > > >& >(result))), SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_SCharVector__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< std::vector< signed 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_SCharVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_SCharVector" "', 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_SCharVector" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< std::vector< signed char > > *)new gs::Reference< std::vector< signed char > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_SCharVector__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< std::vector< signed 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_SCharVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_SCharVector" "', 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_SCharVector" "', 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_SCharVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< std::vector< signed char > > *)new gs::Reference< std::vector< signed 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_gs__ReferenceT_std__vectorT_signed_char_std__allocatorT_signed_char_t_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_SCharVector__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< std::vector< signed 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_SCharVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_SCharVector" "', 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_SCharVector" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_SCharVector" "', 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_SCharVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_SCharVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< std::vector< signed char > > *)new gs::Reference< std::vector< signed 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_gs__ReferenceT_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_SCharVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_SCharVector", 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_SCharVector__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_SCharVector__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_SCharVector__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_SCharVector'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< std::vector< signed char > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< std::vector< signed char > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< std::vector< signed char > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_SCharVector_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< signed char > > *arg1 = (gs::Reference< std::vector< signed char > > *) 0 ;
unsigned long arg2 ;
std::vector< signed char,std::allocator< signed char > > *arg3 = (std::vector< signed char,std::allocator< signed char > > *) 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_SCharVector_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_SCharVector_restore" "', argument " "1"" of type '" "gs::Reference< std::vector< signed char > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< signed 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_SCharVector_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_SCharVector_restore" "', argument " "3"" of type '" "std::vector< signed char,std::allocator< signed char > > *""'");
}
arg3 = reinterpret_cast< std::vector< signed char,std::allocator< signed char > > * >(argp3);
{
try {
((gs::Reference< std::vector< signed char > > 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_SCharVector_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< signed char > > *arg1 = (gs::Reference< std::vector< signed char > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< signed char,std::allocator< signed char > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_SCharVector_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_SCharVector_retrieve" "', argument " "1"" of type '" "gs::Reference< std::vector< signed char > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< signed 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_SCharVector_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::vector< signed char,std::allocator< signed char > > *)gs_Reference_Sl_std_vector_Sl_signed_SS_char_Sg__Sg__retrieve((gs::Reference< std::vector< signed char > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_signed_char_std__allocatorT_signed_char_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_SCharVector_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< signed char > > *arg1 = (gs::Reference< std::vector< signed char > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< signed char,std::allocator< signed char > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_SCharVector_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_SCharVector_getValue" "', argument " "1"" of type '" "gs::Reference< std::vector< signed char > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< signed 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_SCharVector_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_std_vector_Sl_signed_SS_char_Sg__Sg__getValue((gs::Reference< std::vector< signed char > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< signed char,std::allocator< signed char > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_SCharVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< signed char > > *arg1 = (gs::Reference< std::vector< signed 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_gs__ReferenceT_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_SCharVector" "', argument " "1"" of type '" "gs::Reference< std::vector< signed char > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< signed 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 *Ref_SCharVector_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_std__vectorT_signed_char_std__allocatorT_signed_char_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_SCharVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveValueRecord_UCharVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< unsigned char,std::allocator< unsigned char > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< unsigned char > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveValueRecord_UCharVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveValueRecord_UCharVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveValueRecord_UCharVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveValueRecord_UCharVector" "', 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_ArchiveValueRecord_UCharVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveValueRecord< std::vector< unsigned char > > *)new gs::ArchiveValueRecord< std::vector< unsigned char > >((std::vector< unsigned char,std::allocator< unsigned char > > 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__ArchiveValueRecordT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveValueRecord_UCharVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveValueRecord< std::vector< unsigned char > > *arg1 = (gs::ArchiveValueRecord< std::vector< 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_gs__ArchiveValueRecordT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveValueRecord_UCharVector" "', argument " "1"" of type '" "gs::ArchiveValueRecord< std::vector< unsigned char > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveValueRecord< std::vector< 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 *ArchiveValueRecord_UCharVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveValueRecord_UCharVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPValueRecord_UCharVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< unsigned char,std::allocator< unsigned char > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< gs::ArchiveValueRecord< std::vector< unsigned char,std::allocator< unsigned char > > > > result;
if (!SWIG_Python_UnpackTuple(args, "NPValueRecord_UCharVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPValueRecord_UCharVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPValueRecord_UCharVector" "', argument " "1"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPValueRecord_UCharVector" "', 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 '" "NPValueRecord_UCharVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR ValueRecord< std::vector< unsigned char > >((std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveValueRecord< std::vector< unsigned char,std::allocator< unsigned char > > >(static_cast< const gs::ArchiveValueRecord< std::vector< unsigned char,std::allocator< unsigned char > > >& >(result))), SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UCharVector__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< std::vector< 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_UCharVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UCharVector" "', 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_UCharVector" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< std::vector< unsigned char > > *)new gs::Reference< std::vector< unsigned char > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UCharVector__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< std::vector< 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_UCharVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UCharVector" "', 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_UCharVector" "', 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_UCharVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< std::vector< unsigned char > > *)new gs::Reference< std::vector< 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_gs__ReferenceT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_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_UCharVector__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< std::vector< 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_UCharVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UCharVector" "', 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_UCharVector" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UCharVector" "', 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_UCharVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UCharVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< std::vector< unsigned char > > *)new gs::Reference< std::vector< 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_gs__ReferenceT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UCharVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_UCharVector", 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_UCharVector__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_UCharVector__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_UCharVector__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_UCharVector'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< std::vector< unsigned char > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< std::vector< unsigned char > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< std::vector< unsigned char > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_UCharVector_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned char > > *arg1 = (gs::Reference< std::vector< unsigned char > > *) 0 ;
unsigned long arg2 ;
std::vector< unsigned char,std::allocator< unsigned char > > *arg3 = (std::vector< unsigned char,std::allocator< unsigned char > > *) 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_UCharVector_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UCharVector_restore" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned char > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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_UCharVector_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_UCharVector_restore" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > *""'");
}
arg3 = reinterpret_cast< std::vector< unsigned char,std::allocator< unsigned char > > * >(argp3);
{
try {
((gs::Reference< std::vector< unsigned char > > 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_UCharVector_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned char > > *arg1 = (gs::Reference< std::vector< unsigned char > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< unsigned char,std::allocator< unsigned char > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_UCharVector_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UCharVector_retrieve" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned char > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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_UCharVector_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::vector< unsigned char,std::allocator< unsigned char > > *)gs_Reference_Sl_std_vector_Sl_unsigned_SS_char_Sg__Sg__retrieve((gs::Reference< std::vector< 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_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_UCharVector_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned char > > *arg1 = (gs::Reference< std::vector< unsigned char > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< unsigned char,std::allocator< unsigned char > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_UCharVector_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UCharVector_getValue" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned char > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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_UCharVector_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_std_vector_Sl_unsigned_SS_char_Sg__Sg__getValue((gs::Reference< std::vector< unsigned char > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned char,std::allocator< unsigned char > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_UCharVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned char > > *arg1 = (gs::Reference< std::vector< 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_gs__ReferenceT_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_UCharVector" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned char > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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 *Ref_UCharVector_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_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_UCharVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveValueRecord_ShortVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< short,std::allocator< short > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< short > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveValueRecord_ShortVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< short,std::allocator< short > > *ptr = (std::vector< short,std::allocator< short > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveValueRecord_ShortVector" "', argument " "1"" of type '" "std::vector< short,std::allocator< short > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveValueRecord_ShortVector" "', argument " "1"" of type '" "std::vector< short,std::allocator< short > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveValueRecord_ShortVector" "', 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_ArchiveValueRecord_ShortVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveValueRecord< std::vector< short > > *)new gs::ArchiveValueRecord< std::vector< short > >((std::vector< short,std::allocator< short > > 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__ArchiveValueRecordT_std__vectorT_short_std__allocatorT_short_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveValueRecord_ShortVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveValueRecord< std::vector< short > > *arg1 = (gs::ArchiveValueRecord< std::vector< short > > *) 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__ArchiveValueRecordT_std__vectorT_short_std__allocatorT_short_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveValueRecord_ShortVector" "', argument " "1"" of type '" "gs::ArchiveValueRecord< std::vector< short > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveValueRecord< std::vector< short > > * >(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 *ArchiveValueRecord_ShortVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_short_std__allocatorT_short_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveValueRecord_ShortVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPValueRecord_ShortVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< short,std::allocator< short > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< gs::ArchiveValueRecord< std::vector< short,std::allocator< short > > > > result;
if (!SWIG_Python_UnpackTuple(args, "NPValueRecord_ShortVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< short,std::allocator< short > > *ptr = (std::vector< short,std::allocator< short > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPValueRecord_ShortVector" "', argument " "1"" of type '" "std::vector< short,std::allocator< short > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPValueRecord_ShortVector" "', argument " "1"" of type '" "std::vector< short,std::allocator< short > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPValueRecord_ShortVector" "', 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 '" "NPValueRecord_ShortVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR ValueRecord< std::vector< short > >((std::vector< short,std::allocator< short > > const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveValueRecord< std::vector< short,std::allocator< short > > >(static_cast< const gs::ArchiveValueRecord< std::vector< short,std::allocator< short > > >& >(result))), SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_short_std__allocatorT_short_t_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ShortVector__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< std::vector< short > > *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_ShortVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ShortVector" "', 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_ShortVector" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< std::vector< short > > *)new gs::Reference< std::vector< short > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_std__vectorT_short_std__allocatorT_short_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ShortVector__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< std::vector< short > > *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_ShortVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ShortVector" "', 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_ShortVector" "', 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_ShortVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< std::vector< short > > *)new gs::Reference< std::vector< short > >(*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_std__vectorT_short_std__allocatorT_short_t_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_ShortVector__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< std::vector< short > > *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_ShortVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ShortVector" "', 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_ShortVector" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ShortVector" "', 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_ShortVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ShortVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< std::vector< short > > *)new gs::Reference< std::vector< short > >(*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_std__vectorT_short_std__allocatorT_short_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ShortVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_ShortVector", 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_ShortVector__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_ShortVector__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_ShortVector__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_ShortVector'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< std::vector< short > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< std::vector< short > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< std::vector< short > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_ShortVector_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< short > > *arg1 = (gs::Reference< std::vector< short > > *) 0 ;
unsigned long arg2 ;
std::vector< short,std::allocator< short > > *arg3 = (std::vector< short,std::allocator< short > > *) 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_ShortVector_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_short_std__allocatorT_short_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ShortVector_restore" "', argument " "1"" of type '" "gs::Reference< std::vector< short > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< short > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ShortVector_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__vectorT_short_std__allocatorT_short_t_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_ShortVector_restore" "', argument " "3"" of type '" "std::vector< short,std::allocator< short > > *""'");
}
arg3 = reinterpret_cast< std::vector< short,std::allocator< short > > * >(argp3);
{
try {
((gs::Reference< std::vector< short > > 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_ShortVector_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< short > > *arg1 = (gs::Reference< std::vector< short > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< short,std::allocator< short > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ShortVector_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_short_std__allocatorT_short_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ShortVector_retrieve" "', argument " "1"" of type '" "gs::Reference< std::vector< short > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< short > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ShortVector_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::vector< short,std::allocator< short > > *)gs_Reference_Sl_std_vector_Sl_short_Sg__Sg__retrieve((gs::Reference< std::vector< short > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_short_std__allocatorT_short_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ShortVector_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< short > > *arg1 = (gs::Reference< std::vector< short > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< short,std::allocator< short > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_ShortVector_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_short_std__allocatorT_short_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ShortVector_getValue" "', argument " "1"" of type '" "gs::Reference< std::vector< short > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< short > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ShortVector_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_std_vector_Sl_short_Sg__Sg__getValue((gs::Reference< std::vector< short > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< short,std::allocator< short > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_ShortVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< short > > *arg1 = (gs::Reference< std::vector< short > > *) 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_std__vectorT_short_std__allocatorT_short_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_ShortVector" "', argument " "1"" of type '" "gs::Reference< std::vector< short > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< short > > * >(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_ShortVector_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_std__vectorT_short_std__allocatorT_short_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_ShortVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveValueRecord_UShortVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< unsigned short,std::allocator< unsigned short > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< unsigned short > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveValueRecord_UShortVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< unsigned short,std::allocator< unsigned short > > *ptr = (std::vector< unsigned short,std::allocator< unsigned short > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveValueRecord_UShortVector" "', argument " "1"" of type '" "std::vector< unsigned short,std::allocator< unsigned short > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveValueRecord_UShortVector" "', argument " "1"" of type '" "std::vector< unsigned short,std::allocator< unsigned short > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveValueRecord_UShortVector" "', 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_ArchiveValueRecord_UShortVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveValueRecord< std::vector< unsigned short > > *)new gs::ArchiveValueRecord< std::vector< unsigned short > >((std::vector< unsigned short,std::allocator< unsigned short > > 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__ArchiveValueRecordT_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveValueRecord_UShortVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveValueRecord< std::vector< unsigned short > > *arg1 = (gs::ArchiveValueRecord< std::vector< unsigned short > > *) 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__ArchiveValueRecordT_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveValueRecord_UShortVector" "', argument " "1"" of type '" "gs::ArchiveValueRecord< std::vector< unsigned short > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveValueRecord< std::vector< unsigned short > > * >(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 *ArchiveValueRecord_UShortVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveValueRecord_UShortVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPValueRecord_UShortVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< unsigned short,std::allocator< unsigned short > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< gs::ArchiveValueRecord< std::vector< unsigned short,std::allocator< unsigned short > > > > result;
if (!SWIG_Python_UnpackTuple(args, "NPValueRecord_UShortVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< unsigned short,std::allocator< unsigned short > > *ptr = (std::vector< unsigned short,std::allocator< unsigned short > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPValueRecord_UShortVector" "', argument " "1"" of type '" "std::vector< unsigned short,std::allocator< unsigned short > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPValueRecord_UShortVector" "', argument " "1"" of type '" "std::vector< unsigned short,std::allocator< unsigned short > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPValueRecord_UShortVector" "', 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 '" "NPValueRecord_UShortVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR ValueRecord< std::vector< unsigned short > >((std::vector< unsigned short,std::allocator< unsigned short > > const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveValueRecord< std::vector< unsigned short,std::allocator< unsigned short > > >(static_cast< const gs::ArchiveValueRecord< std::vector< unsigned short,std::allocator< unsigned short > > >& >(result))), SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UShortVector__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< std::vector< unsigned short > > *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_UShortVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UShortVector" "', 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_UShortVector" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< std::vector< unsigned short > > *)new gs::Reference< std::vector< unsigned short > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UShortVector__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< std::vector< unsigned short > > *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_UShortVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UShortVector" "', 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_UShortVector" "', 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_UShortVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< std::vector< unsigned short > > *)new gs::Reference< std::vector< unsigned short > >(*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_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_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_UShortVector__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< std::vector< unsigned short > > *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_UShortVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UShortVector" "', 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_UShortVector" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UShortVector" "', 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_UShortVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UShortVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< std::vector< unsigned short > > *)new gs::Reference< std::vector< unsigned short > >(*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_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UShortVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_UShortVector", 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_UShortVector__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_UShortVector__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_UShortVector__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_UShortVector'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< std::vector< unsigned short > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< std::vector< unsigned short > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< std::vector< unsigned short > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_UShortVector_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned short > > *arg1 = (gs::Reference< std::vector< unsigned short > > *) 0 ;
unsigned long arg2 ;
std::vector< unsigned short,std::allocator< unsigned short > > *arg3 = (std::vector< unsigned short,std::allocator< unsigned short > > *) 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_UShortVector_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UShortVector_restore" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned short > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned short > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_UShortVector_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_UShortVector_restore" "', argument " "3"" of type '" "std::vector< unsigned short,std::allocator< unsigned short > > *""'");
}
arg3 = reinterpret_cast< std::vector< unsigned short,std::allocator< unsigned short > > * >(argp3);
{
try {
((gs::Reference< std::vector< unsigned short > > 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_UShortVector_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned short > > *arg1 = (gs::Reference< std::vector< unsigned short > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< unsigned short,std::allocator< unsigned short > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_UShortVector_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UShortVector_retrieve" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned short > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned short > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_UShortVector_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::vector< unsigned short,std::allocator< unsigned short > > *)gs_Reference_Sl_std_vector_Sl_unsigned_SS_short_Sg__Sg__retrieve((gs::Reference< std::vector< unsigned short > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_UShortVector_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned short > > *arg1 = (gs::Reference< std::vector< unsigned short > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< unsigned short,std::allocator< unsigned short > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_UShortVector_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UShortVector_getValue" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned short > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned short > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_UShortVector_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_std_vector_Sl_unsigned_SS_short_Sg__Sg__getValue((gs::Reference< std::vector< unsigned short > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned short,std::allocator< unsigned short > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_UShortVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned short > > *arg1 = (gs::Reference< std::vector< unsigned short > > *) 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_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_UShortVector" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned short > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned short > > * >(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_UShortVector_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_std__vectorT_unsigned_short_std__allocatorT_unsigned_short_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_UShortVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveValueRecord_LongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< long,std::allocator< long > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< long > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveValueRecord_LongVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< long,std::allocator< long > > *ptr = (std::vector< long,std::allocator< long > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveValueRecord_LongVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveValueRecord_LongVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveValueRecord_LongVector" "', 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_ArchiveValueRecord_LongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveValueRecord< std::vector< long > > *)new gs::ArchiveValueRecord< std::vector< long > >((std::vector< long,std::allocator< long > > 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__ArchiveValueRecordT_std__vectorT_long_std__allocatorT_long_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveValueRecord_LongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveValueRecord< std::vector< long > > *arg1 = (gs::ArchiveValueRecord< std::vector< 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_gs__ArchiveValueRecordT_std__vectorT_long_std__allocatorT_long_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveValueRecord_LongVector" "', argument " "1"" of type '" "gs::ArchiveValueRecord< std::vector< long > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveValueRecord< std::vector< 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 *ArchiveValueRecord_LongVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_long_std__allocatorT_long_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveValueRecord_LongVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPValueRecord_LongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< long,std::allocator< long > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< gs::ArchiveValueRecord< std::vector< long,std::allocator< long > > > > result;
if (!SWIG_Python_UnpackTuple(args, "NPValueRecord_LongVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< long,std::allocator< long > > *ptr = (std::vector< long,std::allocator< long > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPValueRecord_LongVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPValueRecord_LongVector" "', argument " "1"" of type '" "std::vector< long,std::allocator< long > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPValueRecord_LongVector" "', 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 '" "NPValueRecord_LongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR ValueRecord< std::vector< long > >((std::vector< long,std::allocator< long > > const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveValueRecord< std::vector< long,std::allocator< long > > >(static_cast< const gs::ArchiveValueRecord< std::vector< long,std::allocator< long > > >& >(result))), SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_long_std__allocatorT_long_t_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LongVector__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< std::vector< 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_LongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LongVector" "', 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_LongVector" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< std::vector< long > > *)new gs::Reference< std::vector< long > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_std__vectorT_long_std__allocatorT_long_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LongVector__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< std::vector< 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_LongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LongVector" "', 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_LongVector" "', 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_LongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< std::vector< long > > *)new gs::Reference< std::vector< 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_gs__ReferenceT_std__vectorT_long_std__allocatorT_long_t_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_LongVector__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< std::vector< 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_LongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LongVector" "', 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_LongVector" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LongVector" "', 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_LongVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LongVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< std::vector< long > > *)new gs::Reference< std::vector< 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_gs__ReferenceT_std__vectorT_long_std__allocatorT_long_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LongVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_LongVector", 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_LongVector__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_LongVector__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_LongVector__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_LongVector'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< std::vector< long > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< std::vector< long > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< std::vector< long > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_LongVector_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< long > > *arg1 = (gs::Reference< std::vector< long > > *) 0 ;
unsigned long arg2 ;
std::vector< long,std::allocator< long > > *arg3 = (std::vector< long,std::allocator< long > > *) 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_LongVector_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_long_std__allocatorT_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LongVector_restore" "', argument " "1"" of type '" "gs::Reference< std::vector< long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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_LongVector_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_LongVector_restore" "', argument " "3"" of type '" "std::vector< long,std::allocator< long > > *""'");
}
arg3 = reinterpret_cast< std::vector< long,std::allocator< long > > * >(argp3);
{
try {
((gs::Reference< std::vector< long > > 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_LongVector_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< long > > *arg1 = (gs::Reference< std::vector< long > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< long,std::allocator< long > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LongVector_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_long_std__allocatorT_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LongVector_retrieve" "', argument " "1"" of type '" "gs::Reference< std::vector< long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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_LongVector_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::vector< long,std::allocator< long > > *)gs_Reference_Sl_std_vector_Sl_long_Sg__Sg__retrieve((gs::Reference< std::vector< long > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LongVector_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< long > > *arg1 = (gs::Reference< std::vector< long > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< long,std::allocator< long > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_LongVector_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_long_std__allocatorT_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LongVector_getValue" "', argument " "1"" of type '" "gs::Reference< std::vector< long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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_LongVector_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_std_vector_Sl_long_Sg__Sg__getValue((gs::Reference< std::vector< long > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< long,std::allocator< long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_LongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< long > > *arg1 = (gs::Reference< std::vector< 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_gs__ReferenceT_std__vectorT_long_std__allocatorT_long_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_LongVector" "', argument " "1"" of type '" "gs::Reference< std::vector< long > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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 *Ref_LongVector_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_std__vectorT_long_std__allocatorT_long_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_LongVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveValueRecord_ULongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< unsigned long,std::allocator< unsigned long > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< unsigned long > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveValueRecord_ULongVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveValueRecord_ULongVector" "', argument " "1"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveValueRecord_ULongVector" "', argument " "1"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveValueRecord_ULongVector" "', 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_ArchiveValueRecord_ULongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveValueRecord< std::vector< unsigned long > > *)new gs::ArchiveValueRecord< std::vector< unsigned long > >((std::vector< unsigned long,std::allocator< unsigned long > > 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__ArchiveValueRecordT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveValueRecord_ULongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveValueRecord< std::vector< unsigned long > > *arg1 = (gs::ArchiveValueRecord< std::vector< unsigned 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_gs__ArchiveValueRecordT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveValueRecord_ULongVector" "', argument " "1"" of type '" "gs::ArchiveValueRecord< std::vector< unsigned long > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveValueRecord< std::vector< unsigned 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 *ArchiveValueRecord_ULongVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveValueRecord_ULongVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPValueRecord_ULongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< unsigned long,std::allocator< unsigned long > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< gs::ArchiveValueRecord< std::vector< unsigned long,std::allocator< unsigned long > > > > result;
if (!SWIG_Python_UnpackTuple(args, "NPValueRecord_ULongVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPValueRecord_ULongVector" "', argument " "1"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPValueRecord_ULongVector" "', argument " "1"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPValueRecord_ULongVector" "', 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 '" "NPValueRecord_ULongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR ValueRecord< std::vector< unsigned long > >((std::vector< unsigned long,std::allocator< unsigned long > > const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveValueRecord< std::vector< unsigned long,std::allocator< unsigned long > > >(static_cast< const gs::ArchiveValueRecord< std::vector< unsigned long,std::allocator< unsigned long > > >& >(result))), SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ULongVector__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< std::vector< unsigned 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_ULongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ULongVector" "', 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_ULongVector" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< std::vector< unsigned long > > *)new gs::Reference< std::vector< unsigned long > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ULongVector__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< std::vector< unsigned 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_ULongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ULongVector" "', 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_ULongVector" "', 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_ULongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< std::vector< unsigned long > > *)new gs::Reference< std::vector< unsigned 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_gs__ReferenceT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_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_ULongVector__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< std::vector< unsigned 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_ULongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ULongVector" "', 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_ULongVector" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ULongVector" "', 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_ULongVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ULongVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< std::vector< unsigned long > > *)new gs::Reference< std::vector< unsigned 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_gs__ReferenceT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ULongVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_ULongVector", 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_ULongVector__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_ULongVector__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_ULongVector__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_ULongVector'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< std::vector< unsigned long > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< std::vector< unsigned long > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< std::vector< unsigned long > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_ULongVector_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned long > > *arg1 = (gs::Reference< std::vector< unsigned long > > *) 0 ;
unsigned long arg2 ;
std::vector< unsigned long,std::allocator< unsigned long > > *arg3 = (std::vector< unsigned long,std::allocator< unsigned long > > *) 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_ULongVector_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ULongVector_restore" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned 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_ULongVector_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_ULongVector_restore" "', argument " "3"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > *""'");
}
arg3 = reinterpret_cast< std::vector< unsigned long,std::allocator< unsigned long > > * >(argp3);
{
try {
((gs::Reference< std::vector< unsigned long > > 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_ULongVector_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned long > > *arg1 = (gs::Reference< std::vector< unsigned long > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< unsigned long,std::allocator< unsigned long > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ULongVector_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ULongVector_retrieve" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned 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_ULongVector_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::vector< unsigned long,std::allocator< unsigned long > > *)gs_Reference_Sl_std_vector_Sl_unsigned_SS_long_Sg__Sg__retrieve((gs::Reference< std::vector< unsigned long > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ULongVector_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned long > > *arg1 = (gs::Reference< std::vector< unsigned long > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_ULongVector_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ULongVector_getValue" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned 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_ULongVector_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_std_vector_Sl_unsigned_SS_long_Sg__Sg__getValue((gs::Reference< std::vector< unsigned long > > const *)arg1,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_delete_Ref_ULongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned long > > *arg1 = (gs::Reference< std::vector< unsigned 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_gs__ReferenceT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_ULongVector" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned long > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned 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 *Ref_ULongVector_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_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_ULongVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveValueRecord_IntVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< int,std::allocator< int > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< int > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveValueRecord_IntVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveValueRecord_IntVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveValueRecord_IntVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveValueRecord_IntVector" "', 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_ArchiveValueRecord_IntVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveValueRecord< std::vector< int > > *)new gs::ArchiveValueRecord< std::vector< int > >((std::vector< int,std::allocator< int > > 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__ArchiveValueRecordT_std__vectorT_int_std__allocatorT_int_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveValueRecord_IntVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveValueRecord< std::vector< int > > *arg1 = (gs::ArchiveValueRecord< std::vector< 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_gs__ArchiveValueRecordT_std__vectorT_int_std__allocatorT_int_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveValueRecord_IntVector" "', argument " "1"" of type '" "gs::ArchiveValueRecord< std::vector< int > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveValueRecord< std::vector< 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 *ArchiveValueRecord_IntVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_int_std__allocatorT_int_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveValueRecord_IntVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPValueRecord_IntVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< int,std::allocator< int > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< gs::ArchiveValueRecord< std::vector< int,std::allocator< int > > > > result;
if (!SWIG_Python_UnpackTuple(args, "NPValueRecord_IntVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPValueRecord_IntVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPValueRecord_IntVector" "', argument " "1"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPValueRecord_IntVector" "', 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 '" "NPValueRecord_IntVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR ValueRecord< std::vector< int > >((std::vector< int,std::allocator< int > > const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveValueRecord< std::vector< int,std::allocator< int > > >(static_cast< const gs::ArchiveValueRecord< std::vector< int,std::allocator< int > > >& >(result))), SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_int_std__allocatorT_int_t_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_IntVector__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< std::vector< 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_IntVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IntVector" "', 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_IntVector" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< std::vector< int > > *)new gs::Reference< std::vector< int > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_std__vectorT_int_std__allocatorT_int_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_IntVector__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< std::vector< 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_IntVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IntVector" "', 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_IntVector" "', 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_IntVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< std::vector< int > > *)new gs::Reference< std::vector< 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_gs__ReferenceT_std__vectorT_int_std__allocatorT_int_t_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_IntVector__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< std::vector< 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_IntVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IntVector" "', 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_IntVector" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IntVector" "', 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_IntVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IntVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< std::vector< int > > *)new gs::Reference< std::vector< 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_gs__ReferenceT_std__vectorT_int_std__allocatorT_int_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_IntVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_IntVector", 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_IntVector__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_IntVector__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_IntVector__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_IntVector'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< std::vector< int > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< std::vector< int > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< std::vector< int > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_IntVector_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< int > > *arg1 = (gs::Reference< std::vector< int > > *) 0 ;
unsigned long arg2 ;
std::vector< int,std::allocator< int > > *arg3 = (std::vector< int,std::allocator< int > > *) 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_IntVector_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_int_std__allocatorT_int_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_IntVector_restore" "', argument " "1"" of type '" "gs::Reference< std::vector< int > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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_IntVector_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_IntVector_restore" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > *""'");
}
arg3 = reinterpret_cast< std::vector< int,std::allocator< int > > * >(argp3);
{
try {
((gs::Reference< std::vector< int > > 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_IntVector_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< int > > *arg1 = (gs::Reference< std::vector< int > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< int,std::allocator< int > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_IntVector_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_int_std__allocatorT_int_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_IntVector_retrieve" "', argument " "1"" of type '" "gs::Reference< std::vector< int > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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_IntVector_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::vector< int,std::allocator< int > > *)gs_Reference_Sl_std_vector_Sl_int_Sg__Sg__retrieve((gs::Reference< std::vector< int > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_IntVector_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< int > > *arg1 = (gs::Reference< std::vector< int > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< int,std::allocator< int > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_IntVector_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_int_std__allocatorT_int_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_IntVector_getValue" "', argument " "1"" of type '" "gs::Reference< std::vector< int > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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_IntVector_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_std_vector_Sl_int_Sg__Sg__getValue((gs::Reference< std::vector< int > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< int,std::allocator< int > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_IntVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< int > > *arg1 = (gs::Reference< std::vector< 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_gs__ReferenceT_std__vectorT_int_std__allocatorT_int_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_IntVector" "', argument " "1"" of type '" "gs::Reference< std::vector< int > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< 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 *Ref_IntVector_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_std__vectorT_int_std__allocatorT_int_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_IntVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveValueRecord_LLongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< long long,std::allocator< long long > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< long long > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveValueRecord_LLongVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< long long,std::allocator< long long > > *ptr = (std::vector< long long,std::allocator< long long > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveValueRecord_LLongVector" "', argument " "1"" of type '" "std::vector< long long,std::allocator< long long > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveValueRecord_LLongVector" "', argument " "1"" of type '" "std::vector< long long,std::allocator< long long > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveValueRecord_LLongVector" "', 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_ArchiveValueRecord_LLongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveValueRecord< std::vector< long long > > *)new gs::ArchiveValueRecord< std::vector< long long > >((std::vector< long long,std::allocator< long long > > 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__ArchiveValueRecordT_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveValueRecord_LLongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveValueRecord< std::vector< long long > > *arg1 = (gs::ArchiveValueRecord< std::vector< long 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_gs__ArchiveValueRecordT_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveValueRecord_LLongVector" "', argument " "1"" of type '" "gs::ArchiveValueRecord< std::vector< long long > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveValueRecord< std::vector< long 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 *ArchiveValueRecord_LLongVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveValueRecord_LLongVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPValueRecord_LLongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< long long,std::allocator< long long > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< gs::ArchiveValueRecord< std::vector< long long,std::allocator< long long > > > > result;
if (!SWIG_Python_UnpackTuple(args, "NPValueRecord_LLongVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< long long,std::allocator< long long > > *ptr = (std::vector< long long,std::allocator< long long > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPValueRecord_LLongVector" "', argument " "1"" of type '" "std::vector< long long,std::allocator< long long > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPValueRecord_LLongVector" "', argument " "1"" of type '" "std::vector< long long,std::allocator< long long > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPValueRecord_LLongVector" "', 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 '" "NPValueRecord_LLongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR ValueRecord< std::vector< long long > >((std::vector< long long,std::allocator< long long > > const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveValueRecord< std::vector< long long,std::allocator< long long > > >(static_cast< const gs::ArchiveValueRecord< std::vector< long long,std::allocator< long long > > >& >(result))), SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LLongVector__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< std::vector< long 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_LLongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LLongVector" "', 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_LLongVector" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< std::vector< long long > > *)new gs::Reference< std::vector< long long > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LLongVector__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< std::vector< long 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_LLongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LLongVector" "', 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_LLongVector" "', 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_LLongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< std::vector< long long > > *)new gs::Reference< std::vector< long 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_gs__ReferenceT_std__vectorT_long_long_std__allocatorT_long_long_t_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_LLongVector__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< std::vector< long 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_LLongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LLongVector" "', 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_LLongVector" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LLongVector" "', 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_LLongVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LLongVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< std::vector< long long > > *)new gs::Reference< std::vector< long 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_gs__ReferenceT_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LLongVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_LLongVector", 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_LLongVector__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_LLongVector__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_LLongVector__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_LLongVector'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< std::vector< long long > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< std::vector< long long > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< std::vector< long long > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_LLongVector_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< long long > > *arg1 = (gs::Reference< std::vector< long long > > *) 0 ;
unsigned long arg2 ;
std::vector< long long,std::allocator< long long > > *arg3 = (std::vector< long long,std::allocator< long long > > *) 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_LLongVector_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LLongVector_restore" "', argument " "1"" of type '" "gs::Reference< std::vector< long long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< long 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_LLongVector_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__vectorT_long_long_std__allocatorT_long_long_t_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_LLongVector_restore" "', argument " "3"" of type '" "std::vector< long long,std::allocator< long long > > *""'");
}
arg3 = reinterpret_cast< std::vector< long long,std::allocator< long long > > * >(argp3);
{
try {
((gs::Reference< std::vector< long long > > 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_LLongVector_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< long long > > *arg1 = (gs::Reference< std::vector< long long > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< long long,std::allocator< long long > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LLongVector_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LLongVector_retrieve" "', argument " "1"" of type '" "gs::Reference< std::vector< long long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< long 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_LLongVector_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::vector< long long,std::allocator< long long > > *)gs_Reference_Sl_std_vector_Sl_long_SS_long_Sg__Sg__retrieve((gs::Reference< std::vector< long long > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_long_long_std__allocatorT_long_long_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LLongVector_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< long long > > *arg1 = (gs::Reference< std::vector< long long > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< long long,std::allocator< long long > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_LLongVector_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LLongVector_getValue" "', argument " "1"" of type '" "gs::Reference< std::vector< long long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< long 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_LLongVector_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_std_vector_Sl_long_SS_long_Sg__Sg__getValue((gs::Reference< std::vector< long long > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< long long,std::allocator< long long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_LLongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< long long > > *arg1 = (gs::Reference< std::vector< long 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_gs__ReferenceT_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_LLongVector" "', argument " "1"" of type '" "gs::Reference< std::vector< long long > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< long 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 *Ref_LLongVector_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_std__vectorT_long_long_std__allocatorT_long_long_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_LLongVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveValueRecord_UIntVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< unsigned int,std::allocator< unsigned int > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< unsigned int > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveValueRecord_UIntVector", 3, 3, swig_obj)) 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_ArchiveValueRecord_UIntVector" "', argument " "1"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveValueRecord_UIntVector" "', argument " "1"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveValueRecord_UIntVector" "', 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_ArchiveValueRecord_UIntVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveValueRecord< std::vector< unsigned int > > *)new gs::ArchiveValueRecord< std::vector< unsigned int > >((std::vector< unsigned int,std::allocator< unsigned int > > 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__ArchiveValueRecordT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveValueRecord_UIntVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveValueRecord< std::vector< unsigned int > > *arg1 = (gs::ArchiveValueRecord< std::vector< unsigned 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_gs__ArchiveValueRecordT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveValueRecord_UIntVector" "', argument " "1"" of type '" "gs::ArchiveValueRecord< std::vector< unsigned int > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveValueRecord< std::vector< unsigned 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 *ArchiveValueRecord_UIntVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveValueRecord_UIntVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPValueRecord_UIntVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< unsigned int,std::allocator< unsigned int > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< gs::ArchiveValueRecord< std::vector< unsigned int,std::allocator< unsigned int > > > > result;
if (!SWIG_Python_UnpackTuple(args, "NPValueRecord_UIntVector", 3, 3, swig_obj)) 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 '" "NPValueRecord_UIntVector" "', argument " "1"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPValueRecord_UIntVector" "', argument " "1"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPValueRecord_UIntVector" "', 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 '" "NPValueRecord_UIntVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR ValueRecord< std::vector< unsigned int > >((std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveValueRecord< std::vector< unsigned int,std::allocator< unsigned int > > >(static_cast< const gs::ArchiveValueRecord< std::vector< unsigned int,std::allocator< unsigned int > > >& >(result))), SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UIntVector__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< std::vector< unsigned 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_UIntVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UIntVector" "', 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_UIntVector" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< std::vector< unsigned int > > *)new gs::Reference< std::vector< unsigned int > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UIntVector__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< std::vector< unsigned 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_UIntVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UIntVector" "', 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_UIntVector" "', 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_UIntVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< std::vector< unsigned int > > *)new gs::Reference< std::vector< unsigned 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_gs__ReferenceT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_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_UIntVector__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< std::vector< unsigned 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_UIntVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UIntVector" "', 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_UIntVector" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UIntVector" "', 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_UIntVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UIntVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< std::vector< unsigned int > > *)new gs::Reference< std::vector< unsigned 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_gs__ReferenceT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UIntVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_UIntVector", 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_UIntVector__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_UIntVector__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_UIntVector__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_UIntVector'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< std::vector< unsigned int > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< std::vector< unsigned int > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< std::vector< unsigned int > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_UIntVector_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned int > > *arg1 = (gs::Reference< std::vector< unsigned int > > *) 0 ;
unsigned long arg2 ;
std::vector< unsigned int,std::allocator< unsigned int > > *arg3 = (std::vector< unsigned int,std::allocator< unsigned int > > *) 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_UIntVector_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UIntVector_restore" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned int > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned 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_UIntVector_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_UIntVector_restore" "', argument " "3"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > *""'");
}
arg3 = reinterpret_cast< std::vector< unsigned int,std::allocator< unsigned int > > * >(argp3);
{
try {
((gs::Reference< std::vector< unsigned int > > 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_UIntVector_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned int > > *arg1 = (gs::Reference< std::vector< unsigned int > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_UIntVector_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UIntVector_retrieve" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned int > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned 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_UIntVector_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::vector< unsigned int,std::allocator< unsigned int > > *)gs_Reference_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__retrieve((gs::Reference< std::vector< 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_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_UIntVector_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned int > > *arg1 = (gs::Reference< std::vector< unsigned int > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< unsigned int,std::allocator< unsigned int > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_UIntVector_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UIntVector_getValue" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned int > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned 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_UIntVector_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_std_vector_Sl_unsigned_SS_int_Sg__Sg__getValue((gs::Reference< std::vector< unsigned int > > const *)arg1,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_delete_Ref_UIntVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned int > > *arg1 = (gs::Reference< std::vector< unsigned 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_gs__ReferenceT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_UIntVector" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned int > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned 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 *Ref_UIntVector_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_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_UIntVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveValueRecord_ULLongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< unsigned long long,std::allocator< unsigned long long > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< unsigned long long > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveValueRecord_ULLongVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< unsigned long long,std::allocator< unsigned long long > > *ptr = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveValueRecord_ULLongVector" "', argument " "1"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveValueRecord_ULLongVector" "', argument " "1"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveValueRecord_ULLongVector" "', 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_ArchiveValueRecord_ULLongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveValueRecord< std::vector< unsigned long long > > *)new gs::ArchiveValueRecord< std::vector< unsigned long long > >((std::vector< unsigned long long,std::allocator< unsigned long long > > 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__ArchiveValueRecordT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveValueRecord_ULLongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveValueRecord< std::vector< unsigned long long > > *arg1 = (gs::ArchiveValueRecord< std::vector< unsigned long 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_gs__ArchiveValueRecordT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveValueRecord_ULLongVector" "', argument " "1"" of type '" "gs::ArchiveValueRecord< std::vector< unsigned long long > > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveValueRecord< std::vector< unsigned long 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 *ArchiveValueRecord_ULLongVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveValueRecord_ULLongVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPValueRecord_ULLongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< unsigned long long,std::allocator< unsigned long long > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< gs::ArchiveValueRecord< std::vector< unsigned long long,std::allocator< unsigned long long > > > > result;
if (!SWIG_Python_UnpackTuple(args, "NPValueRecord_ULLongVector", 3, 3, swig_obj)) SWIG_fail;
{
std::vector< unsigned long long,std::allocator< unsigned long long > > *ptr = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPValueRecord_ULLongVector" "', argument " "1"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPValueRecord_ULLongVector" "', argument " "1"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPValueRecord_ULLongVector" "', 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 '" "NPValueRecord_ULLongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR ValueRecord< std::vector< unsigned long long > >((std::vector< unsigned long long,std::allocator< unsigned long long > > const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveValueRecord< std::vector< unsigned long long,std::allocator< unsigned long long > > >(static_cast< const gs::ArchiveValueRecord< std::vector< unsigned long long,std::allocator< unsigned long long > > >& >(result))), SWIGTYPE_p_gs__ArchiveValueRecordT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ULLongVector__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< std::vector< unsigned long 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_ULLongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ULLongVector" "', 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_ULLongVector" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< std::vector< unsigned long long > > *)new gs::Reference< std::vector< unsigned long long > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ULLongVector__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< std::vector< unsigned long 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_ULLongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ULLongVector" "', 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_ULLongVector" "', 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_ULLongVector" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< std::vector< unsigned long long > > *)new gs::Reference< std::vector< unsigned long 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_gs__ReferenceT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_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_ULLongVector__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< std::vector< unsigned long 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_ULLongVector" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ULLongVector" "', 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_ULLongVector" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ULLongVector" "', 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_ULLongVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ULLongVector" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< std::vector< unsigned long long > > *)new gs::Reference< std::vector< unsigned long 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_gs__ReferenceT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ULLongVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_ULLongVector", 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_ULLongVector__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_ULLongVector__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_ULLongVector__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_ULLongVector'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< std::vector< unsigned long long > >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< std::vector< unsigned long long > >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< std::vector< unsigned long long > >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_ULLongVector_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned long long > > *arg1 = (gs::Reference< std::vector< unsigned long long > > *) 0 ;
unsigned long arg2 ;
std::vector< unsigned long long,std::allocator< unsigned long long > > *arg3 = (std::vector< unsigned long long,std::allocator< unsigned long long > > *) 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_ULLongVector_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ULLongVector_restore" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned long long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned long 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_ULLongVector_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_ULLongVector_restore" "', argument " "3"" of type '" "std::vector< unsigned long long,std::allocator< unsigned long long > > *""'");
}
arg3 = reinterpret_cast< std::vector< unsigned long long,std::allocator< unsigned long long > > * >(argp3);
{
try {
((gs::Reference< std::vector< unsigned long long > > 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_ULLongVector_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned long long > > *arg1 = (gs::Reference< std::vector< unsigned long long > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< unsigned long long,std::allocator< unsigned long long > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ULLongVector_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ULLongVector_retrieve" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned long long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned long 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_ULLongVector_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::vector< unsigned long long,std::allocator< unsigned long long > > *)gs_Reference_Sl_std_vector_Sl_unsigned_SS_long_SS_long_Sg__Sg__retrieve((gs::Reference< std::vector< unsigned long long > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ULLongVector_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned long long > > *arg1 = (gs::Reference< std::vector< unsigned long long > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::vector< unsigned long long,std::allocator< unsigned long long > > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_ULLongVector_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ULLongVector_getValue" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned long long > > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned long 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_ULLongVector_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_std_vector_Sl_unsigned_SS_long_SS_long_Sg__Sg__getValue((gs::Reference< std::vector< unsigned long long > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long long,std::allocator< unsigned long long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_ULLongVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< std::vector< unsigned long long > > *arg1 = (gs::Reference< std::vector< unsigned long 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_gs__ReferenceT_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_ULLongVector" "', argument " "1"" of type '" "gs::Reference< std::vector< unsigned long long > > *""'");
}
arg1 = reinterpret_cast< gs::Reference< std::vector< unsigned long 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 *Ref_ULLongVector_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_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_ULLongVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveValueRecord_FloatVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< float,std::allocator< float > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveValueRecord< std::vector< float > > *result = 0 ;
Index: trunk/npstat/nm/RecurrenceCoeffsTrGauss.icc
===================================================================
--- trunk/npstat/nm/RecurrenceCoeffsTrGauss.icc (revision 858)
+++ trunk/npstat/nm/RecurrenceCoeffsTrGauss.icc (revision 859)
@@ -1,70 +1,70 @@
#include <stdexcept>
#include "npstat/nm/GaussHermiteQuadrature.hh"
namespace npstat {
namespace Private {
template<typename Numeric>
class TransformedMonicPolyProd : public Functor1<Numeric, Numeric>
{
public:
inline TransformedMonicPolyProd(
const Functor1<Numeric, Numeric>& transformFromGauss,
const std::vector<Recurrence>& rcoeffs,
const unsigned degree, const bool multByX)
: transformFromGauss_(transformFromGauss),
rcoeffs_(rcoeffs), degree_(degree),
multiplyByX_(multByX) {}
inline virtual ~TransformedMonicPolyProd() {}
inline Numeric operator()(const Numeric& z) const
{
const Numeric x = transformFromGauss_(z);
const long double p = monicpoly(rcoeffs_, degree_, x);
long double result = p*p;
if (multiplyByX_)
result *= x;
return result;
}
private:
const Functor1<Numeric, Numeric>& transformFromGauss_;
const std::vector<Recurrence>& rcoeffs_;
unsigned degree_;
bool multiplyByX_;
};
template<typename Numeric>
void calcRecurrenceCoeffsTrGauss(
const Functor1<Numeric, Numeric>& transformFromGauss,
const unsigned maxdeg, const OrthoPolyMethod m,
+ const unsigned quadraturePoints,
std::vector<Recurrence>* rcoeffs)
{
// Only the Stieltjes method is supported here
if (m != OPOLY_STIELTJES) throw std::invalid_argument(
"In npstat::Private::calcRecurrenceCoeffsTrGauss: "
"only Stieltjes method is currently supported");
assert(rcoeffs);
rcoeffs->clear();
rcoeffs->reserve(maxdeg + 1U);
- GaussHermiteQuadrature ghq(
- GaussHermiteQuadrature::allowedNPonts().back());
+ GaussHermiteQuadrature ghq(quadraturePoints);
long double prevSprod = 1.0L;
for (unsigned deg=0; deg<=maxdeg; ++deg)
{
TransformedMonicPolyProd<Numeric> ppFcn(
transformFromGauss, *rcoeffs, deg, false);
const long double pp = ghq.integrateProb(0.0L, 1.0L, ppFcn);
TransformedMonicPolyProd<Numeric> ppxFcn(
transformFromGauss, *rcoeffs, deg, true);
const long double ppx = ghq.integrateProb(0.0L, 1.0L, ppxFcn);
assert(pp > 0.0L);
rcoeffs->push_back(Recurrence(ppx/pp, pp/prevSprod));
prevSprod = pp;
}
}
}
}
Index: trunk/npstat/nm/GaussHermiteQuadrature.hh
===================================================================
--- trunk/npstat/nm/GaussHermiteQuadrature.hh (revision 858)
+++ trunk/npstat/nm/GaussHermiteQuadrature.hh (revision 859)
@@ -1,131 +1,136 @@
#ifndef NPSTAT_GAUSSHERMITEQUADRATURE_HH_
#define NPSTAT_GAUSSHERMITEQUADRATURE_HH_
/*!
// \file GaussHermiteQuadrature.hh
//
// \brief Gauss-Hermite quadratures in long double precision
//
// Author: I. Volobouev
//
// April 2010
*/
#include <vector>
#include <utility>
#include <cassert>
#include "npstat/nm/SimpleFunctors.hh"
namespace npstat {
/**
// Gauss-Hermite quadrature. Internally, operations are performed
// in long double precision.
*/
class GaussHermiteQuadrature
{
public:
enum {interval_quadrature = 0};
/**
// At the moment, the following numbers of points are supported:
- // 16, 32, 64, 100, 128, 256.
+ // 16, 32, 64, 100, 128, 256, 512.
//
// If an unsupported number of points is given in the
// constructor, std::invalid_argument exception will be thrown.
+ //
+ // Note that, for the quadrature with 512 points, the
+ // arguments become as large as 31.4 and the weights become
+ // as small as 4.9e-430. Use of such weights with doubles is
+ // rather meaningless. Long double integrands are needed.
*/
explicit GaussHermiteQuadrature(unsigned npoints);
/** Return the number of quadrature points */
inline unsigned npoints() const {return npoints_;}
/**
// The abscissae are returned for positive points only,
// so the buffer length should be at least npoints/2.
*/
void getAbscissae(long double* abscissae, unsigned len) const;
/** Return abscissae for all points */
void getAllAbscissae(long double* abscissae, unsigned len) const;
/**
// The weights are returned for positive points only,
// so the buffer length should be at least npoints/2.
*/
void getWeights(long double* weights, unsigned len) const;
/** Return weights for all points */
void getAllWeights(long double* weights, unsigned len) const;
/** Perform the quadrature */
template <typename FcnResult, typename FcnArg>
long double integrate(const Functor1<FcnResult,FcnArg>& fcn) const;
/** Perform the quadrature with Gaussian density weight */
template <typename FcnResult, typename FcnArg>
long double integrateProb(long double mean, long double sigma,
const Functor1<FcnResult,FcnArg>& fcn) const;
/** Check if the rule with the given number of points is supported */
static bool isAllowed(unsigned npoints);
/** The complete set of allowed rules, in the increasing order */
static std::vector<unsigned> allowedNPonts();
/**
// Minimum number of points, among the supported rules, which
// integrates a polynomial with the given degree exactly (with
// the appropriate weight). Returns 0 if the degree is out of range.
*/
static unsigned minimalExactRule(unsigned polyDegree);
private:
GaussHermiteQuadrature();
const long double* a_;
const long double* w_;
mutable std::vector<std::pair<long double, long double> > buf_;
unsigned npoints_;
#ifdef SWIG
public:
inline std::vector<double> abscissae2() const
{
return std::vector<double>(a_, a_+npoints_/2U);
}
inline std::vector<double> weights2() const
{
return std::vector<double>(w_, w_+npoints_/2U);
}
inline std::vector<double> allabscissae2() const
{
assert(a_);
std::vector<double> abscissae(npoints_);
const unsigned halfpoints = npoints_/2;
for (unsigned i=0; i<halfpoints; ++i)
abscissae[i] = -a_[halfpoints - 1U - i];
for (unsigned i=halfpoints; i<npoints_; ++i)
abscissae[i] = a_[i - halfpoints];
return abscissae;
}
inline std::vector<double> allweights2() const
{
assert(w_);
std::vector<double> weights(npoints_);
const unsigned halfpoints = npoints_/2;
for (unsigned i=0; i<halfpoints; ++i)
weights[i] = w_[halfpoints - 1U - i];
for (unsigned i=halfpoints; i<npoints_; ++i)
weights[i] = w_[i - halfpoints];
return weights;
}
#endif // SWIG
};
}
#include "npstat/nm/GaussHermiteQuadrature.icc"
#endif // NPSTAT_GAUSSHERMITEQUADRATURE_HH_
Index: trunk/npstat/nm/GaussHermiteQuadrature.cc
===================================================================
--- trunk/npstat/nm/GaussHermiteQuadrature.cc (revision 858)
+++ trunk/npstat/nm/GaussHermiteQuadrature.cc (revision 859)
@@ -1,464 +1,731 @@
#include <stdexcept>
#include "npstat/nm/GaussHermiteQuadrature.hh"
-static const unsigned allowed[] = {16U, 32U, 64U, 100U, 128U, 256U};
+static const unsigned allowed[] = {16U, 32U, 64U, 100U, 128U, 256U, 512U};
static const long double x16[8] = {
0.2734810461381524521582804L, 0.8229514491446558925824545L,
1.38025853919888079637209L, 1.951787990916253977434655L,
2.546202157847481362159329L, 3.176999161979956026813995L,
3.869447904860122698719424L, 4.688738939305818364688499L
};
static const long double w16[8] = {
0.5079294790166137419135173L, 0.2806474585285336753694633L,
0.08381004139898582941542073L, 0.0128803115355099736834643L,
0.0009322840086241805299142773L, 0.00002711860092537881512018914L,
2.320980844865210653387494e-7L, 2.654807474011182244709264e-10L
};
static const long double x32[16] = {
0.1948407415693993267087413L, 0.5849787654359324484669575L,
0.9765004635896828384847049L, 1.370376410952871838161706L,
1.767654109463201604627673L, 2.169499183606112173305706L,
2.577249537732317454030929L, 2.992490825002374206285494L,
3.417167492818570735873927L, 3.853755485471444643887873L,
4.305547953351198445263487L, 4.777164503502596393035794L,
5.27555098651588012781906L, 5.812225949515913832765966L,
6.409498149269660412173764L, 7.125813909830727572795208L
};
static const long double w32[16] = {
0.3752383525928023928668184L, 0.2774581423025298981376989L,
0.1512697340766424825751471L, 0.06045813095591261418658576L,
0.01755342883157343030343784L, 0.003654890326654428079125657L,
0.0005362683655279720459702381L, 0.00005416584061819982558001939L,
3.650585129562376057370324e-6L, 1.574167792545594029268693e-7L,
4.098832164770896618235041e-9L, 5.933291463396638614511568e-11L,
4.215010211326447572969445e-13L, 1.197344017092848665828682e-15L,
9.23173653651829223349442e-19L, 7.310676427384162393274278e-23L
};
static const long double x64[32] = {
0.1383022449870097241150498L, 0.4149888241210786845769291L,
0.6919223058100445772682193L, 0.9692694230711780167435415L,
1.247200156943117940693565L, 1.52588914020986366294897L,
1.805517171465544918903774L, 2.086272879881762020832563L,
2.368354588632401404111511L, 2.651972435430635011005458L,
2.937350823004621809685339L, 3.224731291992035725848171L,
3.514375935740906211539951L, 3.806571513945360461165972L,
4.101634474566656714970981L, 4.399917168228137647767933L,
4.701815647407499816097538L, 5.007779602198768196443703L,
5.31832522463327085732365L, 5.63405216434997214724992L,
5.955666326799486045344567L, 6.284011228774828235418093L,
6.62011226263602737903666L, 6.965241120551107529242642L,
7.321013032780949201189569L, 7.689540164040496828447804L,
8.073687285010225225858791L, 8.477529083379863090564166L,
8.907249099964769757295973L, 9.373159549646721162545652L,
9.895287586829539021204461L, 10.52612316796054588332683L
};
static const long double w64[32] = {
0.2713774249413039779456065L, 0.232994786062678046650566L,
0.171685842349083702000728L, 0.1084983493061868406330258L,
0.05873998196409943454968895L, 0.02720312895368891845383482L,
0.01075604050987913704946517L, 0.003622586978534458760668125L,
0.001036329099507577663456742L, 0.000250983698513062486082362L,
0.00005125929135786274660821911L, 8.788499230850359181444047e-6L,
1.258340251031184576157842e-6L, 1.495532936727247061102462e-7L,
1.465125316476109354926622e-8L, 1.173616742321549343542506e-9L,
7.615217250145451353315296e-11L, 3.959177766947723927236446e-12L,
1.628340730709720362084307e-13L, 5.218623726590847522957809e-15L,
1.280093391322438041639563e-16L, 2.351884710675819116957676e-18L,
3.152254566503781416121347e-20L, 2.982862784279851154478701e-22L,
1.911706883300642829958457e-24L, 7.861797788925910369099991e-27L,
1.929103595464966850301969e-29L, 2.549660899112999256604767e-32L,
1.557390624629763802309335e-35L, 3.421138011255740504327222e-39L,
1.679747990108159218666288e-43L, 5.535706535856942820575463e-49L
};
static const long double x100[50] = {
0.1107958724224394828875599L, 0.3324146923422318070458988L,
0.5541148235916169882329977L, 0.7759507615401457819750658L,
0.9979774360981052439241031L, 1.220250391218953058820493L,
1.442825970215932787702578L, 1.665761508741509469866654L,
1.88911553742700837149364L, 2.112947996371187952029771L,
2.337320463906878505012623L, 2.562296402372608025056025L,
2.787941423981989313190368L, 3.014323580331155516715165L,
3.241513679631012950358773L, 3.46958563641858916976816L,
3.698616859318491939796954L, 3.928688683427670972009502L,
4.159886855131030540068041L, 4.392302078682684016744776L,
4.626030635787155773074038L, 4.861175091791210210046067L,
5.097845105089136247000092L, 5.336158360138360497277115L,
5.576241649329924103303485L, 5.81823213520351704736227L,
6.062278832614302638665185L, 6.308544361112135121638817L,
6.557207031921539315980143L, 6.808463352858796414478981L,
7.062531060248865437465523L, 7.319652822304535316332062L,
7.580100807857488884285809L, 7.84418238446082116879208L,
8.112247311162791917211692L, 8.384696940416265075086016L,
8.661996168134517714376075L, 8.944689217325474478798597L,
9.233420890219161550477937L, 9.528965823390114804697066L,
9.832269807777969094355162L, 10.14450994129284546988859L,
10.46718542134281214178313L, 10.80226075368471459482167L,
11.15240438558512526489904L, 11.52141540078703024169422L,
11.9150619431141658019848L, 12.34296422285967429510274L,
12.82379974948780890633913L, 13.40648733814491013849802L
};
static const long double w100[50] = {
0.2188926295874391250627106L, 0.1984628502541864777089007L,
0.1631300305027829414192852L, 0.1215379868441041819836584L,
0.08205182739122446468042594L, 0.05017581267742869569787715L,
0.02777912738593351427005737L, 0.01391566522023180641788101L,
0.006303000285608052549385533L, 0.002579273260059090173395552L,
0.0009526921885486191174785274L, 0.0003172919710433003055500797L,
0.00009517162778550966470160633L, 0.00002567615938454906305610276L,
6.221524817777863317350848e-6L, 1.35179715911036728660027e-6L,
2.629097483753725079341014e-7L, 4.568127508484939513556966e-8L,
7.075857283889572907380399e-9L, 9.747921253871621245758587e-10L,
1.19130063492907294981858e-10L, 1.28790382573155823281197e-11L,
1.227878514410124970026169e-12L, 1.028874937350992546798209e-13L,
7.548896877915243292268832e-15L, 4.829835321703033347677164e-16L,
2.682492164760376080003197e-17L, 1.286832921121153275751754e-18L,
5.302316183131848685301362e-20L, 1.864997675130252258165612e-21L,
5.561026961659167317149952e-23L, 1.39484152606876708048011e-24L,
2.917350072629332417799015e-26L, 5.037791166213187784233353e-28L,
7.101812226384934229656621e-30L, 8.067434278709377173709162e-32L,
7.274572596887767574509963e-34L, 5.116232604385222180439519e-36L,
2.74878488435711249198534e-38L, 1.100470682714223669456485e-40L,
3.185217877835917930677973e-43L, 6.420725205348472482880041e-46L,
8.597563954825271610021206e-49L, 7.191529463463371029600923e-52L,
3.459477936475550444644499e-55L, 8.518883081761633786654344e-59L,
9.019222303693556179721971e-63L, 3.083028990003274811977776e-67L,
1.972860574879452554487221e-72L, 5.908067865031206815268855e-79L
};
static const long double x128[64] = {
0.09798382195581895431377132L, 0.2939661103002957028133519L,
0.4899923604154589180890444L, 0.6860919752173348720452864L,
0.8822945007929814060005083L, 1.078629684810908930471008L,
1.275127536089158321432511L, 1.471818385674486000678376L,
1.668732949803723630486601L, 1.865902395140598696649124L,
2.063358406708565977681751L, 2.261133258973062280284208L,
2.459259890565739401936776L, 2.657771983189483996310816L,
2.856704045297405282651849L, 3.056091501202680055957841L,
3.255970786350659346652906L, 3.456379449571737482209434L,
3.657356263235308096230587L, 3.858941342344281826590627L,
4.061176273749272824277548L, 4.26410425682551915674979L,
4.467770257148582683446318L, 4.672221174932638922145675L,
4.877506030264814412167552L, 5.083676167489339906735054L,
5.290785481477179576436742L, 5.498890668973909484522189L,
5.708051508768086261774909L, 5.918331175085811675116817L,
6.129796589422162024620596L, 6.34251881700177947172939L,
6.556573515264482889625789L, 6.772041443255928858206886L,
6.989009042644774011852237L, 7.207569103387333854417799L,
7.427821529952301115657396L, 7.64987422768100656113185L,
7.873844133535434466787109L, 8.099858421507896075457943L,
8.32805592079014664500802L, 8.558588795064508288960304L,
8.791624544888686406350403L, 9.027348413394788344826656L,
9.26596630029617592185364L, 9.507708323279056576954902L,
9.752833213439168674549426L, 10.00163379893012284601114L,
10.25444392847093071702454L, 10.51164732991486861739414L,
10.77368911516144067131166L, 11.0410909760196333842429L,
11.314471644289977917212L, 11.59457505474145174678208L,
11.88231011887831158083592L, 12.17880861983124631327407L,
12.48551258534944816069906L, 12.80431208206713129501371L,
13.13777478802765110106506L, 13.48955641262314182637912L,
13.86520698447624158977684L, 14.27398130478783556250944L,
14.73384247358929905561314L, 15.29181976688274097174679L
};
static const long double w128[64] = {
0.194097611864087756977697L, 0.179773083907799264988698L,
0.1542104352983543833635277L, 0.1225032731641356946186646L,
0.09010867837644891954805744L, 0.06136072100449006566465107L,
0.03867395481063690265502489L, 0.02255431016782442241024982L,
0.01216691886446933949101663L, 0.006068862406925887620668014L,
0.002797839401605789273190804L, 0.001191563814457167239116806L,
0.0004685515378084113654798021L, 0.0001700140882628094094098972L,
0.00005688743760040241092701879L, 0.00001754048584809390503836776L,
4.979924532590987011340993e-6L, 1.300747003238199233513756e-6L,
3.12287298617890308197945e-7L, 6.884581122154350090644063e-8L,
1.392190715293517881195788e-8L, 2.579397229426394801149806e-9L,
4.373186659848403445632173e-10L, 6.775780487774553786308396e-11L,
9.580316508735857708620664e-12L, 1.234214486600556690816236e-12L,
1.446347321190416563205909e-13L, 1.539049730353545814249811e-14L,
1.484223837513856482911896e-15L, 1.294548159339371534395457e-16L,
1.018933230423292524036582e-17L, 7.220107316928292019644377e-19L,
4.594007677329721592211726e-20L, 2.617457583934811155868732e-21L,
1.331367859033589604405994e-22L, 6.02598403200645428864657e-24L,
2.418403459647664969603906e-25L, 8.572830483769353744549325e-27L,
2.672923620058073240172664e-28L, 7.296545006768404253818687e-30L,
1.735103020282061208816017e-31L, 3.57437889587942107216457e-33L,
6.33991352636648906076754e-35L, 9.616708067967506977595218e-37L,
1.238085557976368037618838e-38L, 1.341497481764369366965568e-40L,
1.211779534130591907354349e-42L, 9.028040138786644009179616e-45L,
5.480217028978796498206163e-47L, 2.67274375173606785452022e-49L,
1.030486252055694734226723e-51L, 3.082077383339298687104255e-54L,
6.993072924051955987987474e-57L, 1.171978501212980517385599e-59L,
1.404467257740487260441866e-62L, 1.156155164096375213347254e-65L,
6.214244161830313662409307e-69L, 2.041585797243985015800692e-72L,
3.751215868804724996562746e-76L, 3.401230086936637126866929e-80L,
1.261249483338538303309322e-84L, 1.404689771315088634798657e-89L,
2.608172402409111079248851e-95L, 1.799065980109284720823363e-102L
};
static const long double x256[128] = {
0.06935239452955744388803576L, 0.2080597846328379521498735L,
0.3467749791369948124594288L, 0.4855031852056820552722951L,
0.6242496163534804348461547L, 0.7630194949989306903749989L,
0.9018180550302726614522567L, 1.040650544387582565786614L,
1.179522227665047701676857L, 1.31843838873717568219942L,
1.457404333412804320782881L, 1.596425392120858802572519L,
1.735506922631895184223701L, 1.87465431281957401864391L,
2.013872983466325516855802L, 2.153168391117598720543739L,
2.292546030989232322177876L, 2.432011439932644768316125L,
2.571570199462716932064948L, 2.711227938853432848246467L,
2.850990338306553771418865L, 2.990863132198829248693306L,
3.130852112413497215693322L, 3.270963131762094667648482L,
3.411202107502892705514789L, 3.551575024962586333004501L,
3.692087941268212069044807L, 3.832746989196637202265515L,
3.973558381149365504012361L, 4.114528413260837801407682L,
4.255663469648874594039856L, 4.396970026816414737676318L,
4.538454658214252262608834L, 4.680124038975066105806037L,
4.821984950829678728288242L, 4.964044287217173463977855L,
5.10630905860125163719935L, 5.248786398006024106363446L,
5.391483566785313588799576L, 5.534407960640500139418677L,
5.677567115902979401907698L, 5.820968716098429376480255L,
5.964620598811304935295807L, 6.108530762869309579656447L,
6.252707375869041431515258L, 6.397158782065586819727379L,
6.541893510650553014329482L, 6.686920284444906124242071L,
6.832248029035027029217979L, 6.977885882382635487649597L,
7.123843204941680417740606L, 7.270129590317975394266941L,
7.416754876510298003102638L, 7.563729157774898358033904L,
7.711062797158907892662314L, 7.858766439752040657111136L,
8.006851026710276598100182L, 8.155327810109955839254568L,
8.304208368695947079898085L, 8.453504624593341194265637L,
8.603228861058530323780014L, 8.753393741352639920944896L,
8.904012328828173805034043L, 9.055098108328510279622257L,
9.206665009009665162900102L, 9.358727428704646441648322L,
9.511300259962916033897065L, 9.664398917911120590604498L,
9.818039370096555953596296L, 9.972238168492020856184266L,
10.12701248386006377403642L, 10.28238014269644526003412L,
10.43835966699729105323386L, 10.5949703171223244559366L,
10.75223213805823855355158L, 10.91016600942228543161929L,
11.06879369958721035788726L, 11.22813792435555867835981L,
11.38822241066509722915626L, 11.54907196586876769074542L,
11.71071255320359456849201L, 11.87317137414494220608773L,
12.03647695843741873836146L, 12.20065926270392853159678L,
12.36574977866274341595387L, 12.53178165213247638636606L,
12.69878981418074280983294L, 12.86681112597928088568419L,
13.03588453917276977741826L, 13.2060512738584353781359L,
13.37735501661859040604692L, 13.54984214146078065446075L,
13.72356195701559996039873L, 13.89856698393993565069987L,
14.07491326719811317981342L, 14.25266072877669929313429L,
14.43187356747123445644847L, 14.61262071371756574751318L,
14.79497634909551278489501L, 14.97902050219883259813004L,
15.16483973516297914368827L, 15.3525279384318336578543L,
15.5421872555438623820107L, 15.73392916512399133977845L,
15.9278757542898247417255L, 16.12416122689225220690767L,
16.3229337022207934073675L, 16.52435737617411960358499L,
16.72861513911482577927869L, 16.93591177519067212055642L,
17.14647791056563829576116L, 17.36057493851576722552809L,
17.57850123670882529979305L, 17.80060012061807779309298L,
18.02727017059946945879922L, 18.2589788687186970374216L,
18.49628095483317150353413L, 18.73984368625242609717427L,
18.99048250044257345197167L, 19.24921290925104953283575L,
19.51732878957217145380639L, 19.79652581044909244607022L,
20.08910699282410079594748L, 20.39835005676927165192042L,
20.72922879233067683193546L, 21.09003212218722581397947L,
21.49683653764692225297995L, 21.99169337968173143150578L
};
static const long double w256[128] = {
0.1380396862755209115461623L, 0.1328339180744035877840838L,
0.1230032311351158193938309L, 0.1096027801343023138515433L,
0.09397592780705028198843521L, 0.07753390349069548171389453L,
0.06155085702479888137715045L, 0.04701418448130623325869308L,
0.03455082586657174270549896L, 0.02442882040773177575688892L,
0.01661645356548084220065692L, 0.0108727800108988110568655L,
0.006843547910376821683595415L, 0.004143142376403676039203141L,
0.002412420213191878584310166L, 0.001350873369460276276263061L,
0.0007274048672835041690488583L, 0.0003766137634591824695368737L,
0.0001874693790569979452285423L, 0.00008970808308135376355184578L,
0.00004126196754634871562674561L, 0.00001824032324514029342130518L,
7.748604996077851148280404e-6L, 3.162744043403113931818247e-6L,
1.24020126909208086348216e-6L, 4.671354640886792791901543e-7L,
1.689848640543874893179345e-7L, 5.869965921453493544025045e-8L,
1.957633323005871267670621e-8L, 6.266959900264999864392682e-9L,
1.925442790705171732963742e-9L, 5.676325033901026938569875e-10L,
1.60538054513839834375098e-10L, 4.354820861532416579395074e-11L,
1.132785812294511238181697e-11L, 2.824946689715659682286396e-12L,
6.752325874818933232891002e-13L, 1.546567308104700068751173e-13L,
3.39346935552010561490731e-14L, 7.131185523906222566740663e-15L,
1.434831081080417221792584e-15L, 2.763344140579202199681171e-16L,
5.092528763567802528354142e-17L, 8.977606649060171674352775e-18L,
1.513475516755380230480198e-18L, 2.43911295290580876119099e-19L,
3.756458877230342905585748e-20L, 5.526606033164875076303145e-21L,
7.764413344115745904428389e-22L, 1.041262400983358880656992e-22L,
1.332410438727469877702362e-23L, 1.62615002782606333379254e-24L,
1.892080808799356026540107e-25L, 2.097876957276834807919888e-26L,
2.21553769695818324398318e-27L, 2.227548036903074988264866e-28L,
2.13111054341846815130745e-29L, 1.939053677322792162950919e-30L,
1.677042649664920815789748e-31L, 1.377924367367343102852255e-32L,
1.074931862337096572263033e-33L, 7.956981568447057548598483e-35L,
5.585409873344557681057222e-36L, 3.715504664140972243259673e-37L,
2.340681275797534661401565e-38L, 1.395476131078660086257215e-39L,
7.867556834480307350178847e-41L, 4.191442393815232424216786e-42L,
2.108378037437585132328501e-43L, 1.000543082941735644142381e-44L,
4.475600887692284974447282e-46L, 1.885407410437632771439863e-47L,
7.472925820097877636516094e-49L, 2.784090389779379680086744e-50L,
9.739575926913210786089395e-52L, 3.195934195189601973735105e-53L,
9.825906543715608806294447e-55L, 2.827209869386944581508349e-56L,
7.603681463947765852817714e-58L, 1.90903879280922896335848e-59L,
4.468359563130094723099765e-61L, 9.736721448687695449179484e-63L,
1.97227114458311327184445e-64L, 3.707957510681315723932626e-66L,
6.459617468090556176866071e-68L, 1.04096106973688862183115e-69L,
1.548918934901887097068285e-71L, 2.124008592959635402413398e-73L,
2.678777087634353537096247e-75L, 3.100541476868721130506631e-77L,
3.286028981833529405445274e-79L, 3.181191265208711677863583e-81L,
2.805940677661302029905023e-83L, 2.24880261652561015773325e-85L,
1.632839465032475722441423e-87L, 1.070788688575716803356984e-89L,
6.321004519105135997710051e-92L, 3.346876186519417166548869e-94L,
1.583425765728327873987018e-96L, 6.66599405444759393471914e-99L,
2.486008353731566366464935e-101L, 8.173567963136183165784288e-104L,
2.356748211065233246206346e-106L, 5.92550121227430141957195e-109L,
1.29102717331080240316334e-111L, 2.420862690260208600845504e-114L,
3.877534426033000916320577e-117L, 5.26105468280227923865402e-120L,
5.991040366178925403442063e-123L, 5.667053365630981877133338e-126L,
4.401509171610101608985115e-129L, 2.770425736852218227029787e-132L,
1.392265195551478902820944e-135L, 5.491764305469765268892198e-139L,
1.667020806306620136345465e-142L, 3.805347862683777480481036e-146L,
6.356833254660565102135512e-150L, 7.521718497069817935532254e-154L,
6.059009685126994742423406e-158L, 3.163462321390488738943512e-162L,
1.005951800115730053476254e-166L, 1.796596257267014451909506e-171L,
1.615495504989693244106132e-176L, 6.267289952280966854143155e-182L,
8.315216118625034527572313e-188L, 2.571712580908051776342705e-194L,
8.899167767891703150223339e-202L, 5.235854530678407140045257e-211L
};
+static const long double x512[256] = {
+ 0.04906344183276593527974754L, 0.1471907864074676176054198L,
+ 0.2453195137659690967521936L, 0.3434505459517914983356597L,
+ 0.4415848052900080498333672L, 0.5397232145000053932895272L,
+ 0.6378666968083854900699971L, 0.7360161760620484585428976L,
+ 0.8341725768414968146299374L, 0.9323368245744017432384006L,
+ 1.030509845649472215832449L, 1.128692567530667986058681L,
+ 1.226885918871797741664043L, 1.325090829631543967229456L,
+ 1.423308231188956378821651L, 1.521539056459456128907535L,
+ 1.61978424001139334818662L, 1.718044718183200990822689L,
+ 1.816321429201188381380513L, 1.914615313298018326121671L,
+ 2.01292731283191214875123L, 2.111258372406627541842308L,
+ 2.209609438992254690649726L, 2.307981462046876726553037L,
+ 2.406375393639141203684976L, 2.50479218857178996519285L,
+ 2.603232804506195475885283L, 2.701698202087952446623151L,
+ 2.800189345073574363661401L, 2.89870720045834536423167L,
+ 2.997252738605378769023534L, 3.095826933375934493982115L,
+ 3.194430762261048519158612L, 3.293065206514528592457277L,
+ 3.391731251287371392311083L, 3.490429885763657466949661L,
+ 3.5891621032979814104275L, 3.687928901554475928461187L,
+ 3.786731282647489691960517L, 3.885570253283980174587293L,
+ 3.984446824907684024477744L, 4.083362013845128931245402L,
+ 4.18231684145355241945663L, 4.281312334270794530949687L,
+ 4.380349524167232952757283L, 4.479429448499830807201072L,
+ 4.578553150268369048270698L, 4.677721678273937206107879L,
+ 4.776936087279758091833059L, 4.876197438174424020746359L,
+ 4.97550679813762413590285L, 5.074865240808444519136137L,
+ 5.174273846456324965856992L, 5.273733702154758576606773L,
+ 5.373245901957822685775827L, 5.472811547079632109645531L,
+ 5.572431746076808255691541L, 5.672107615034060296787685L,
+ 5.771840277752977381657119L, 5.8716308659441337309112L,
+ 5.971480519422611460788069L, 6.071390386307049088963667L,
+ 6.171361623222326913501182L, 6.271395395506003822318405L,
+ 6.371492877418623591930908L, 6.471655252358012376387961L,
+ 6.571883713077692876258666L, 6.672179461909544619549795L,
+ 6.772543710990843888163147L, 6.872977682495821091882541L,
+ 6.973482608871877834225103L, 7.074059733080610538477221L,
+ 7.174710308843792315934533L, 7.275435600894469770264707L,
+ 7.376236885233336650937619L, 7.477115449390551704209129L,
+ 7.578072592693173732081314L, 7.679109626538392768391137L,
+ 7.780227874672742427646299L, 7.881428673477484887956608L,
+ 7.982713372260366646540097L, 8.084083333553950147603822L,
+ 8.18553993342073364138598L, 8.28708456176527920400431L,
+ 8.388718622653576745463446L, 8.490443534639880073528207L,
+ 8.592260731101259680836513L, 8.694171660580125899191934L,
+ 8.796177787134985437007517L, 8.898280590699704102973118L,
+ 9.00048156745155874189481L, 9.102782230188372089185286L,
+ 9.205184108715035411792045L, 9.307688750239735469883031L,
+ 9.410297719780214531222703L, 9.513012600580404926219154L,
+ 9.615834994537792975052991L, 9.718766522641881079757804L,
+ 9.821808825424131386065071L, 9.92496356341978971663577L,
+ 10.02823241764200449541389L, 10.13161709006867216088182L,
+ 10.2351193041424581449405L, 10.33874080528446091743984L,
+ 10.44248336142200591017325L, 10.54634876353107638739648L,
+ 10.65033882619390957464962L, 10.7544553881723086491179L,
+ 10.85870031299724459170725L, 10.96307548957534646590114L,
+ 11.06758283281290448775819L, 11.17222428425803735582635L,
+ 11.27700181276170379458288L, 11.38191741515826821045635L,
+ 11.48697311696636185100546L, 11.59217097311081398651577L,
+ 11.69751306866646249629052L, 11.80300151962468994291687L,
+ 11.90863847368356986744526L, 12.01442611106254875490226L,
+ 12.12036664534263202913229L, 12.22646232433308767360302L,
+ 12.33271543096572878485751L, 12.43912828421788670220232L,
+ 12.54570324006523948631896L, 12.65244269246571661785911L,
+ 12.75934907437576004448813L, 12.8664248588002843247211L,
+ 12.97367255987774481748558L, 13.0810947340017928818657L,
+ 13.18869398098107113345088L, 13.29647294523878022236513L,
+ 13.40443431705373164389835L, 13.51258083384468907818277L,
+ 13.62091528149989401685892L, 13.72944049575377033431796L,
+ 13.83815936361290738911851L, 13.94707482483353261828465L,
+ 14.05618987345280286728652L, 14.16550755937636937154866L,
+ 14.27503099002480490056907L, 14.38476333204162366519882L,
+ 14.49470781306577579102317L, 14.6048677235716591457013L,
+ 14.71524641877986280074723L, 14.82584732064203919449429L,
+ 14.93667391990349699521964L, 15.04772977824731466664848L,
+ 15.15901853052399681695464L, 15.27054388707093265884396L,
+ 15.38230963612616951000566L, 15.49431964634128551292365L,
+ 15.60657786939843605905143L, 15.71908834273695930002108L,
+ 15.83185519239525929310014L, 15.94488263597404258885653L,
+ 16.05817498572736742523209L, 16.17173665178837633086197L,
+ 16.28557214553702525571585L, 16.39968608311759796245763L,
+ 16.51408318911430620463747L, 16.62876830039382734655863L,
+ 16.74374637012422501508627L, 16.8590224719803389330322L,
+ 16.97460180454642146958752L, 17.09048969592754528691467L,
+ 17.20669160858211387254677L, 17.32321314438868036670653L,
+ 17.44006004996122615924603L, 17.55723822222807614527546L,
+ 17.6747537142907399393096L, 17.79261274158017623752599L,
+ 17.91082168832929030622548L, 18.02938711438190273462675L,
+ 18.14831576235998277951219L, 18.26761456521263484101029L,
+ 18.387290654172176342612L, 18.50735136714466574648778L,
+ 18.62780425756444874595517L, 18.74865710374470915259561L,
+ 18.86991791875866142638716L, 18.99159496088892979112006L,
+ 19.11369674468585325031476L, 19.23623205267896904607443L,
+ 19.35920994778979584063799L, 19.48263978649830358846789L,
+ 19.6065312328201666320598L, 19.73089427315710322528372L,
+ 19.85573923208836894374993L, 19.9810767891778621239399L,
+ 20.10691799687839508384337L, 20.23327429962257510415285L,
+ 20.36015755419852665289413L, 20.48758005151848886645244L,
+ 20.6155545398992751850447L, 20.74409424998584114235888L,
+ 20.87321292146295152741364L, 21.00292483171537758340749L,
+ 21.13324482661442988800588L, 21.26418835362822353211263L,
+ 21.39577149747520595294013L, 21.528011018565535987475L,
+ 21.66092439450333244174631L, 21.79452986495513672335233L,
+ 21.92884648022677515480563L, 22.0638941539328927683925L,
+ 22.19969372019162687788243L, 22.33626699583222377479661L,
+ 22.47363684816710151737334L, 22.6118272689533927368258L,
+ 22.75086345525412466804319L, 22.89077189800803120404185L,
+ 23.03158047923211041540436L, 23.17331857891555773317759L,
+ 23.31601719282142095359565L, 23.45970906259789367080073L,
+ 23.60442881982031591704429L, 23.75021314584476405312895L,
+ 23.89710094966338036774032L, 24.04513356632129721421138L,
+ 24.19435497889893683908043L, 24.34481206759902324025835L,
+ 24.49655489012693760658389L, 24.64963699834434906061091L,
+ 24.80411579714573060116797L, 24.96005295270256420668941L,
+ 25.11751485870229446858212L, 25.27657317105940039088399L,
+ 25.43730542390180408651812L, 25.59979574258113844324367L,
+ 25.76413567321468723915214L, 25.93042515310572670396018L,
+ 26.0987736526742219023065L, 26.26930152777346681839222L,
+ 26.44214163219450962311163L, 26.61744125480717282663856L,
+ 26.79536446566413496441006L, 26.97609498273440318101758L,
+ 27.15983970909003776716229L, 27.34683314448723903672097L,
+ 27.53734295340566958007276L, 27.73167708662064015228396L,
+ 27.9301930264425761330463L, 28.13330999263476104243491L,
+ 28.34152536914853411192604L, 28.55543730423454638794783L,
+ 28.77577661161079745640721L, 29.00345318112513919740364L,
+ 29.23962598100959942035281L, 29.48581339263666112649014L,
+ 29.74407692170034691772879L, 30.01734941832811061227028L,
+ 30.31007944232387670196458L, 30.62967708550035661628027L,
+ 30.99050663990637758575892L, 31.43011738680278899826204L
+};
+
+static const long double w512[256] = {
+ 0.09789103125187480854299278L, 0.0960247933257127662923443L,
+ 0.09239830875529923931816227L, 0.08721359697648653964911973L,
+ 0.08075008140637431465966563L, 0.07333969110658921841127938L,
+ 0.06533876940350209757031665L, 0.057100078561647496856263L,
+ 0.04894790864345345251390221L, 0.04115861375462234051302022L,
+ 0.03394795889177759423380729L, 0.02746564337480069229880578L,
+ 0.0217964416432745121328001L, 0.01696669876611606136446111L,
+ 0.0129545079785924183154155L, 0.00970179057120210571018394L,
+ 0.007126651502438214291498638L, 0.00513471964088434224892386L,
+ 0.003628608779825540331897689L, 0.002515069798692874060010141L,
+ 0.001709780589605164716458109L, 0.001139999872020953655402516L,
+ 0.0007454810525632585602327081L, 0.0004781110506795952958928167L,
+ 0.0003007280691421728997472731L, 0.0001855087833246735710438566L,
+ 0.0001122256931729136688518137L, 0.0000665808093163697040907437L,
+ 0.00003873701085743001439650808L, 0.00002210112454672326879084804L,
+ 0.0000123652954522035507535125L, 6.784014497167478494481246e-6L,
+ 3.649649180929661326301082e-6L, 1.925250074123988639806218e-6L,
+ 9.958274538414183981868005e-7L, 5.050458998207144228502015e-7L,
+ 2.511400337897372994711881e-7L, 1.224411979631643673813795e-7L,
+ 5.852663219939065278708968e-8L, 2.742718890997763398344879e-8L,
+ 1.260079519683028076887815e-8L, 5.675318297244383740525982e-9L,
+ 2.505788797816960271058164e-9L, 1.084542689350011161527037e-9L,
+ 4.601319491365689778141469e-10L, 1.913537157476595321380309e-10L,
+ 7.800007506823076621705944e-11L, 3.116313942889807423569735e-11L,
+ 1.220280036819584158684913e-11L, 4.683101790807531651321733e-12L,
+ 1.761354380537180608688526e-12L, 6.492049324176138375432905e-13L,
+ 2.344883431491470789781571e-13L, 8.299408378786055219263932e-14L,
+ 2.878333262388644972220659e-14L, 9.781023423501690657386588e-15L,
+ 3.256548835884108458103647e-15L, 1.062285689093904498048274e-15L,
+ 3.394809727524175395734522e-16L, 1.062819250348812937385428e-16L,
+ 3.259509909439761967386917e-17L, 9.792029751663985700962173e-18L,
+ 2.88136860819958460283683e-18L, 8.304400537061169292922848e-19L,
+ 2.344111995754202437307025e-19L, 6.480160904178994737203467e-20L,
+ 1.754312146458833007371075e-20L, 4.650690125429862722330271e-21L,
+ 1.207237467755446456244603e-21L, 3.068369092830748187742093e-22L,
+ 7.635481109841037232304857e-23L, 1.860171316015612941069344e-23L,
+ 4.436398083201924350180275e-24L, 1.035718858583991151027241e-24L,
+ 2.366787788314086091195491e-25L, 5.293641567668952144464222e-26L,
+ 1.158773867112016959404315e-26L, 2.4823466102584596982738e-27L,
+ 5.203742310389298539697559e-28L, 1.067402625124959469669509e-28L,
+ 2.142243297733900119557496e-29L, 4.206352779317630331479533e-30L,
+ 8.079913420496215186272918e-31L, 1.518234897636858165395677e-31L,
+ 2.790416326367500522779438e-32L, 5.016059870949781388941736e-33L,
+ 8.81830996225781810403637e-34L, 1.516008290133329502704325e-34L,
+ 2.548445396486100660949435e-35L, 4.188610132514788478882344e-36L,
+ 6.73051085661557915396438e-37L, 1.05723504599666958761787e-37L,
+ 1.623311084998308647297552e-38L, 2.436122811531581818003e-39L,
+ 3.572922864573990442909567e-40L, 5.120757638319962812543921e-41L,
+ 7.171157397932651446816677e-42L, 9.811746327867387563430547e-43L,
+ 1.311481554107897401558729e-43L, 1.712351370033433213102109e-44L,
+ 2.183703191043868401218043e-45L, 2.719685819141970738170258e-46L,
+ 3.307667264512845269818942e-47L, 3.927855821069897299002257e-48L,
+ 4.553776707735339668997519e-49L, 5.153726144020126919771172e-50L,
+ 5.69317319737480579216769e-51L, 6.137903087909802887665127e-52L,
+ 6.457529693666436919369242e-53L, 6.628889427075741617602767e-54L,
+ 6.638796605696087131040391e-55L, 6.485708529572936167535362e-56L,
+ 6.180010310725710083007098e-57L, 5.742855294423685055777627e-58L,
+ 5.203739890941400528950142e-59L, 4.597199686383615304484609e-60L,
+ 3.959142909716128221039253e-61L, 3.32336329575137219695556e-62L,
+ 2.71869784452517733531277e-63L, 2.167140258217907784175406e-64L,
+ 1.683027885370784844861086e-65L, 1.27323287402967541095383e-66L,
+ 9.381437197646905065587292e-68L, 6.73143064960163246674501e-69L,
+ 4.702751032879954934412749e-70L, 3.198394273155166439049763e-71L,
+ 2.117263021221844507774013e-72L, 1.363974995273160405090413e-73L,
+ 8.549708639849365235658541e-75L, 5.213538290747468965500149e-76L,
+ 3.092229197556460348373368e-77L, 1.783563544987879187778847e-78L,
+ 1.000234062162983949028561e-79L, 5.452899980753870346628342e-81L,
+ 2.88922438563788636847611e-82L, 1.487565642012300194851988e-83L,
+ 7.440868629920614047554837e-85L, 3.615209313110418702552132e-86L,
+ 1.705742143567613883769835e-87L, 7.813926542713869664064856e-89L,
+ 3.474603055108022627898338e-90L, 1.499418579877018814364327e-91L,
+ 6.278012891547827938551532e-93L, 2.549768829477998121141236e-94L,
+ 1.004278499485812075963413e-95L, 3.835089243875554519778909e-97L,
+ 1.419566056306478851697449e-98L, 5.091937130707166077075341e-100L,
+ 1.769472265289254333931478e-101L, 5.955541459738974252727492e-103L,
+ 1.940869604114611295986293e-104L, 6.122759930393732410724004e-106L,
+ 1.86917190686925357786315e-107L, 5.520455461056614744936149e-109L,
+ 1.576862351955224582553217e-110L, 4.354841750564817548305098e-112L,
+ 1.162449400963466671406451e-113L, 2.998188588732375566694363e-115L,
+ 7.469367299921283043794487e-117L, 1.796809255809241214682488e-118L,
+ 4.172181196666032829971624e-120L, 9.347886056199875241079687e-122L,
+ 2.02020265394398653750825e-123L, 4.209650152778602306328875e-125L,
+ 8.454750238186765718716314e-127L, 1.636022246568184656172156e-128L,
+ 3.048855344210458747223364e-130L, 5.469714131381238128057818e-132L,
+ 9.442542027150999283454735e-134L, 1.567909964420465713545005e-135L,
+ 2.503038627616275437839463e-137L, 3.839983029526479345045888e-139L,
+ 5.658508909934548079057243e-141L, 8.005262957589310727691769e-143L,
+ 1.086761287291242626575893e-144L, 1.414997291404247842525404e-146L,
+ 1.766084616838490333967966e-148L, 2.111868058976782106845595e-150L,
+ 2.418128900110116629808991e-152L, 2.649722082534716734685459e-154L,
+ 2.776979876114592865264122e-156L, 2.781840101397916509922875e-158L,
+ 2.66198709399585229704587e-160L, 2.431716160137652517511303e-162L,
+ 2.119155681517106485304632e-164L, 1.760582868296733019787395e-166L,
+ 1.393428036353385459705263e-168L, 1.049851131304452470281032e-170L,
+ 7.524124201583852309940921e-173L, 5.125402881318447747761969e-175L,
+ 3.315819577109960632551511e-177L, 2.035538338071711278360522e-179L,
+ 1.184717829064440501470356e-181L, 6.531394533891927393953538e-184L,
+ 3.407579962524214216983318e-186L, 1.680792251847030795593789e-188L,
+ 7.830196579324857586905344e-191L, 3.441660056058941087252947e-193L,
+ 1.425700436267096006265753e-195L, 5.559851797807932994903317e-198L,
+ 2.038743531225038875700458e-200L, 7.020940567435570888301912e-203L,
+ 2.267816858361100748666451e-205L, 6.861573832953495309036285e-208L,
+ 1.941961637535153971757004e-210L, 5.133695931422162606924341e-213L,
+ 1.265713263893419246238985e-215L, 2.905822655169952192343026e-218L,
+ 6.201719299237691518219147e-221L, 1.228317113776746049925036e-223L,
+ 2.25358308988066316685666e-226L, 3.822707372578658205319226e-229L,
+ 5.983154500521844744789865e-232L, 8.62248994175081428148747e-235L,
+ 1.141592111959232066733975e-237L, 1.385301915381770464293042e-240L,
+ 1.536934018566298018755022e-243L, 1.55490315833118970210003e-246L,
+ 1.430478913835145669935931e-249L, 1.193188284652599268299329e-252L,
+ 8.995503956278217124889539e-256L, 6.109187013703480717618579e-259L,
+ 3.724257298140346354658531e-262L, 2.03023538767378617362888e-265L,
+ 9.856898954101184224468068e-269L, 4.243563958672504059833582e-272L,
+ 1.612448991470364743351565e-275L, 5.380436018108327875070883e-279L,
+ 1.568057033637556664442449e-282L, 3.967894328747728333967474e-286L,
+ 8.66230061561055806576612e-290L, 1.620146014097676538633083e-293L,
+ 2.576405357078838467429883e-297L, 3.454490220623116091885964e-301L,
+ 3.869603877941979239498252e-305L, 3.584603679460233541262144e-309L,
+ 2.715161314816373948740873e-313L, 1.660517278740414166601254e-317L,
+ 8.083911557117532335856425e-322L, 3.082932461673005591432347e-326L,
+ 9.043605122285060085742779e-331L, 1.998287386228088743213424e-335L,
+ 3.246274020436948145681903e-340L, 3.768907900308142928001605e-345L,
+ 3.024083016929845378577854e-350L, 1.610923849740864676805062e-355L,
+ 5.4252716318924733744856e-361L, 1.087152953323502890668075e-366L,
+ 1.200226801280107754772353e-372L, 6.603056985284052236893631e-379L,
+ 1.580610793329682068387643e-385L, 1.358710508748496515070592e-392L,
+ 3.140017064025706411931158e-400L, 1.208625304075321536197016e-408L,
+ 3.088217010777896772782237e-418L, 4.88624077786814430656155e-430L
+};
+
namespace npstat {
GaussHermiteQuadrature::GaussHermiteQuadrature(const unsigned npoints)
: a_(0),
w_(0),
npoints_(npoints)
{
switch (npoints)
{
case 16U:
a_ = x16;
w_ = w16;
break;
case 32U:
a_ = x32;
w_ = w32;
break;
case 64U:
a_ = x64;
w_ = w64;
break;
case 100U:
a_ = x100;
w_ = w100;
break;
case 128U:
a_ = x128;
w_ = w128;
break;
case 256U:
a_ = x256;
w_ = w256;
break;
+ case 512U:
+ a_ = x512;
+ w_ = w512;
+ break;
+
default:
npoints_ = 0;
throw std::invalid_argument(
"In npstat::GaussHermiteQuadrature constructor: "
"unsupported number of abscissae requested");
}
}
std::vector<unsigned> GaussHermiteQuadrature::allowedNPonts()
{
std::vector<unsigned> v(allowed, allowed+sizeof(allowed)/sizeof(allowed[0]));
return v;
}
unsigned GaussHermiteQuadrature::minimalExactRule(const unsigned polyDegree)
{
for (unsigned i=0; i<sizeof(allowed)/sizeof(allowed[0]); ++i)
if (polyDegree < 2U*allowed[i])
return allowed[i];
return 0U;
}
bool GaussHermiteQuadrature::isAllowed(const unsigned npoints)
{
for (unsigned i=0; i<sizeof(allowed)/sizeof(allowed[0]); ++i)
if (npoints == allowed[i])
return true;
return false;
}
void GaussHermiteQuadrature::getAbscissae(
long double* abscissae, const unsigned len) const
{
const unsigned halfpoints = npoints_/2;
if (len < halfpoints) throw std::invalid_argument(
"In npstat::GaussHermiteQuadrature::getAbscissae: "
"unsifficient length of the output buffer");
assert(abscissae);
assert(a_);
for (unsigned i=0; i<halfpoints; ++i)
abscissae[i] = a_[i];
}
void GaussHermiteQuadrature::getAllAbscissae(
long double* abscissae, const unsigned len) const
{
if (len < npoints_) throw std::invalid_argument(
"In npstat::GaussHermiteQuadrature::getAllAbscissae: "
"unsifficient length of the output buffer");
assert(abscissae);
assert(a_);
const unsigned halfpoints = npoints_/2;
for (unsigned i=0; i<halfpoints; ++i)
abscissae[i] = -a_[halfpoints - 1U - i];
for (unsigned i=halfpoints; i<npoints_; ++i)
abscissae[i] = a_[i - halfpoints];
}
void GaussHermiteQuadrature::getWeights(
long double* weights, const unsigned len) const
{
const unsigned halfpoints = npoints_/2;
if (len < halfpoints) throw std::invalid_argument(
"In npstat::GaussHermiteQuadrature::getWeights: "
"unsifficient length of the output buffer");
assert(weights);
assert(w_);
for (unsigned i=0; i<halfpoints; ++i)
weights[i] = w_[i];
}
void GaussHermiteQuadrature::getAllWeights(
long double* weights, const unsigned len) const
{
if (len < npoints_) throw std::invalid_argument(
"In npstat::GaussHermiteQuadrature::getAllWeights: "
"unsifficient length of the output buffer");
assert(weights);
assert(w_);
const unsigned halfpoints = npoints_/2;
for (unsigned i=0; i<halfpoints; ++i)
weights[i] = w_[halfpoints - 1U - i];
for (unsigned i=halfpoints; i<npoints_; ++i)
weights[i] = w_[i - halfpoints];
}
}
Index: trunk/npstat/nm/RecurrenceCoeffsTrGauss.hh
===================================================================
--- trunk/npstat/nm/RecurrenceCoeffsTrGauss.hh (revision 858)
+++ trunk/npstat/nm/RecurrenceCoeffsTrGauss.hh (revision 859)
@@ -1,37 +1,46 @@
#ifndef NPSTAT_RECURRENCECOEFFSTRGAUSS_HH_
#define NPSTAT_RECURRENCECOEFFSTRGAUSS_HH_
//======================================================================
// RecurrenceCoeffsTrGauss.hh
//
// This is an internal header which is subject to change without
// notice. Application code should never use classes or functions
// declared/defined in this header directly.
//
// Author: I. Volobouev
//
// May 2017
//======================================================================
#include "npstat/nm/RecurrenceCoeffs.hh"
#include "npstat/nm/SimpleFunctors.hh"
namespace npstat {
namespace Private {
// "transformFromGauss" is the transform connecting the standard
// normal variable with the variable distributed with the density
// equal to the OPS weight.
//
// The "Numeric" type should be either double or, preferably,
// long double.
+ //
+ // The "quadraturePoints" argument will be passed to
+ // GaussHermiteQuadrature and should be supported by that
+ // class. The choice of the quadrature rule is a compromise
+ // between good precision (more points are better)
+ // and the chance that we will exceed the range of
+ // double precision numbers when the functor is evaluated
+ // (quadratures with more points use larger arguments).
+ //
template<typename Numeric>
void calcRecurrenceCoeffsTrGauss(
const Functor1<Numeric, Numeric>& transformFromGauss,
- unsigned maxdeg, OrthoPolyMethod m,
+ unsigned maxdeg, OrthoPolyMethod m, unsigned quadraturePoints,
std::vector<Recurrence>* rcoeffs);
}
}
#include "npstat/nm/RecurrenceCoeffsTrGauss.icc"
#endif // NPSTAT_RECURRENCECOEFFSTRGAUSS_HH_
Index: trunk/npstat/stat/JohnsonOrthoPoly1D.hh
===================================================================
--- trunk/npstat/stat/JohnsonOrthoPoly1D.hh (revision 858)
+++ trunk/npstat/stat/JohnsonOrthoPoly1D.hh (revision 859)
@@ -1,60 +1,65 @@
#ifndef NPSTAT_JOHNSONORTHOPOLY1D_HH_
#define NPSTAT_JOHNSONORTHOPOLY1D_HH_
/*!
// \file JohnsonOrthoPoly1D.hh
//
// \brief Continuous orthonormal polynomial series in one dimension
// generated for a Johnson curve used as the weight
//
// Author: I. Volobouev
//
// November 2022
*/
#include <vector>
#include "geners/CPP11_auto_ptr.hh"
#include "npstat/nm/AbsClassicalOrthoPoly1D.hh"
#include "npstat/nm/Recurrence.hh"
#include "npstat/nm/OrthoPolyMethod.hh"
#include "npstat/stat/AbsDistribution1D.hh"
namespace npstat {
class JohnsonOrthoPoly1D : public AbsClassicalOrthoPoly1D
{
public:
+ /**
+ // "nIntegPoints" parameter is the number of integration points
+ // for the Gauss-Hermite quadrature.
+ */
JohnsonOrthoPoly1D(const AbsDistribution1D& distro,
unsigned maxDegree,
+ unsigned nIntegPoints = 256U,
OrthoPolyMethod m = OPOLY_STIELTJES);
JohnsonOrthoPoly1D(const JohnsonOrthoPoly1D&);
JohnsonOrthoPoly1D& operator=(const JohnsonOrthoPoly1D&);
inline virtual ~JohnsonOrthoPoly1D() {}
inline virtual JohnsonOrthoPoly1D* clone() const
{return new JohnsonOrthoPoly1D(*this);}
inline virtual long double weight(const long double x) const
{return distro_->density(x);}
inline virtual double xmin() const {return distro_->quantile(0.0);}
inline virtual double xmax() const {return distro_->quantile(1.0);}
inline virtual unsigned maxDegree() const {return maxdeg_;}
protected:
virtual std::pair<long double,long double>
recurrenceCoeffs(unsigned deg) const;
private:
- void initialize(OrthoPolyMethod m);
+ void initialize(unsigned nIntegPoints, OrthoPolyMethod m);
CPP11_auto_ptr<AbsDistribution1D> distro_;
std::vector<Private::Recurrence> rCoeffs_;
unsigned maxdeg_;
};
}
#endif // NPSTAT_JOHNSONORTHOPOLY1D_HH_
Index: trunk/npstat/stat/JohnsonOrthoPoly1D.cc
===================================================================
--- trunk/npstat/stat/JohnsonOrthoPoly1D.cc (revision 858)
+++ trunk/npstat/stat/JohnsonOrthoPoly1D.cc (revision 859)
@@ -1,55 +1,57 @@
#include "npstat/nm/RecurrenceCoeffsTrGauss.hh"
#include "npstat/stat/johnsonTransform.hh"
#include "npstat/stat/JohnsonOrthoPoly1D.hh"
namespace npstat {
JohnsonOrthoPoly1D::JohnsonOrthoPoly1D(const AbsDistribution1D& distro,
const unsigned maxDegree,
+ const unsigned nIntegPoints,
const OrthoPolyMethod m)
: distro_(distro.clone()), maxdeg_(maxDegree)
{
if (maxdeg_)
- initialize(m);
+ initialize(nIntegPoints, m);
else
{
// Just believe that the distro is correctly
// normalized. We should not be asked for the
// recurrence coefficients in the future.
rCoeffs_.reserve(1);
rCoeffs_.push_back(Private::Recurrence(0.0L, 1.0L));
}
}
- void JohnsonOrthoPoly1D::initialize(const OrthoPolyMethod m)
+ void JohnsonOrthoPoly1D::initialize(const unsigned nInteg,
+ const OrthoPolyMethod m)
{
std::unique_ptr<AbsDistributionTransform1D> transform = johnsonTransform(*distro_);
BackDistroTransform1DFunctor fcn(*transform);
- Private::calcRecurrenceCoeffsTrGauss(fcn, maxdeg_, m, &rCoeffs_);
+ Private::calcRecurrenceCoeffsTrGauss(fcn, maxdeg_, m, nInteg, &rCoeffs_);
}
std::pair<long double,long double>
JohnsonOrthoPoly1D::recurrenceCoeffs(const unsigned deg) const
{
const Private::Recurrence& r = rCoeffs_.at(deg);
return std::pair<long double,long double>(r.alpha, r.sqrbeta);
}
JohnsonOrthoPoly1D::JohnsonOrthoPoly1D(const JohnsonOrthoPoly1D& r)
: distro_(r.distro_->clone()),
rCoeffs_(r.rCoeffs_),
maxdeg_(r.maxdeg_)
{
}
JohnsonOrthoPoly1D& JohnsonOrthoPoly1D::operator=(const JohnsonOrthoPoly1D& r)
{
if (&r != this)
{
distro_ = CPP11_auto_ptr<AbsDistribution1D>(r.distro_->clone());
rCoeffs_ = r.rCoeffs_;
maxdeg_ = r.maxdeg_;
}
return *this;
}
}

File Metadata

Mime Type
application/octet-stream
Expires
Fri, May 3, 3:42 PM (1 d, 23 h)
Storage Engine
chunks
Storage Format
Chunks
Storage Handle
M4ljaZHTDJ6A
Default Alt Text
(5 MB)

Event Timeline