[Scipy-svn] r2502 - trunk/Lib/sparse/sparsetools
scipy-svn at scipy.org
scipy-svn at scipy.org
Mon Jan 8 00:25:59 EST 2007
Author: wnbell
Date: 2007-01-07 23:25:56 -0600 (Sun, 07 Jan 2007)
New Revision: 2502
Modified:
trunk/Lib/sparse/sparsetools/numpy.i
trunk/Lib/sparse/sparsetools/sparsetools.py
trunk/Lib/sparse/sparsetools/sparsetools_wrap.cxx
Log:
Changed (int) and ("%d") to (npy_intp) and ("%" NPY_INTP_FMT) where appropriate
This is necessary on 64bit systems
Modified: trunk/Lib/sparse/sparsetools/numpy.i
===================================================================
--- trunk/Lib/sparse/sparsetools/numpy.i 2007-01-07 04:20:54 UTC (rev 2501)
+++ trunk/Lib/sparse/sparsetools/numpy.i 2007-01-08 05:25:56 UTC (rev 2502)
@@ -20,6 +20,7 @@
#define array_size(a,i) (((PyArrayObject *)a)->dimensions[i])
#define array_is_contiguous(a) (PyArray_ISCONTIGUOUS(a))
+
/* Given a PyObject, return a string describing its type.
*/
char* pytype_string(PyObject* py_obj) {
@@ -216,7 +217,7 @@
* array has the specified shape, return 1. Otherwise, set the python
* error string and return 0.
*/
-int require_size(PyArrayObject* ary, int* size, int n) {
+int require_size(PyArrayObject* ary, npy_intp * size, int n) {
int i;
int success = 1;
int len;
@@ -235,14 +236,14 @@
}
else
{
- sprintf(s, "%d,", size[i]);
+ sprintf(s,"%" NPY_INTP_FMT ",", size[i]);
}
strcat(desired_dims,s);
}
len = strlen(desired_dims);
desired_dims[len-1] = ']';
for (i = 0; i < n; i++) {
- sprintf(s, "%d,", array_size(ary,i));
+ sprintf(s,"%" NPY_INTP_FMT ",", array_size(ary,i));
strcat(actual_dims,s);
}
len = strlen(actual_dims);
@@ -284,7 +285,7 @@
/* One dimensional input arrays */
%define TYPEMAP_IN1(type,typecode)
%typemap(in) type* IN_ARRAY1 (PyArrayObject* array=NULL, int is_new_object) {
- int size[1] = {-1};
+ npy_intp size[1] = {-1};
array = obj_to_array_contiguous_allow_conversion($input, typecode, &is_new_object);
if (!array || !require_dimensions(array,1) || !require_size(array,size,1)) SWIG_fail;
$1 = (type*) array->data;
@@ -330,7 +331,7 @@
%define TYPEMAP_IN2(type,typecode)
%typemap(in) (type* IN_ARRAY2)
(PyArrayObject* array=NULL, int is_new_object) {
- int size[2] = {-1,-1};
+ npy_intp size[2] = {-1,-1};
array = obj_to_array_contiguous_allow_conversion($input, typecode, &is_new_object);
if (!array || !require_dimensions(array,2) || !require_size(array,size,1)) SWIG_fail;
$1 = (type*) array->data;
Modified: trunk/Lib/sparse/sparsetools/sparsetools.py
===================================================================
--- trunk/Lib/sparse/sparsetools/sparsetools.py 2007-01-07 04:20:54 UTC (rev 2501)
+++ trunk/Lib/sparse/sparsetools/sparsetools.py 2007-01-08 05:25:56 UTC (rev 2502)
@@ -1,16 +1,10 @@
-# This file was automatically generated by SWIG (http://www.swig.org).
-# Version 1.3.31
-#
+# This file was created automatically by SWIG 1.3.28.
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.
import _sparsetools
import new
new_instancemethod = new.instancemethod
-try:
- _swig_property = property
-except NameError:
- pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
@@ -33,11 +27,6 @@
if method: return method(self)
raise AttributeError,name
-def _swig_repr(self):
- try: strthis = "proxy of " + self.this.__repr__()
- except: strthis = ""
- return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
-
import types
try:
_object = types.ObjectType
@@ -51,7 +40,7 @@
def csrtocsc(*args):
- """
+ """
csrtocsc(int n_row, int n_col, int Ap, int Aj, float Ax, std::vector<(int)> Bp,
std::vector<(int)> Bi, std::vector<(float)> Bx)
csrtocsc(int n_row, int n_col, int Ap, int Aj, double Ax, std::vector<(int)> Bp,
@@ -69,10 +58,10 @@
std::vector<(int)> Bp, std::vector<(int)> Bi,
std::vector<(npy_clongdouble)> Bx)
"""
- return _sparsetools.csrtocsc(*args)
+ return _sparsetools.csrtocsc(*args)
def csctocsr(*args):
- """
+ """
csctocsr(int n_row, int n_col, int Ap, int Ai, float Ax, std::vector<(int)> Bp,
std::vector<(int)> Bj, std::vector<(float)> Bx)
csctocsr(int n_row, int n_col, int Ap, int Ai, double Ax, std::vector<(int)> Bp,
@@ -90,10 +79,10 @@
std::vector<(int)> Bp, std::vector<(int)> Bj,
std::vector<(npy_clongdouble)> Bx)
"""
- return _sparsetools.csctocsr(*args)
+ return _sparsetools.csctocsr(*args)
def csrtocoo(*args):
- """
+ """
csrtocoo(int n_row, int n_col, int Ap, int Aj, float Ax, std::vector<(int)> Bi,
std::vector<(int)> Bj, std::vector<(float)> Bx)
csrtocoo(int n_row, int n_col, int Ap, int Aj, double Ax, std::vector<(int)> Bi,
@@ -111,10 +100,10 @@
std::vector<(int)> Bi, std::vector<(int)> Bj,
std::vector<(npy_clongdouble)> Bx)
"""
- return _sparsetools.csrtocoo(*args)
+ return _sparsetools.csrtocoo(*args)
def cootocsr(*args):
- """
+ """
cootocsr(int n_row, int n_col, int NNZ, int Ai, int Aj, float Ax,
std::vector<(int)> Bp, std::vector<(int)> Bj,
std::vector<(float)> Bx)
@@ -134,10 +123,10 @@
std::vector<(int)> Bp, std::vector<(int)> Bj,
std::vector<(npy_clongdouble)> Bx)
"""
- return _sparsetools.cootocsr(*args)
+ return _sparsetools.cootocsr(*args)
def csctocoo(*args):
- """
+ """
csctocoo(int n_row, int n_col, int Ap, int Ai, float Ax, std::vector<(int)> Bi,
std::vector<(int)> Bj, std::vector<(float)> Bx)
csctocoo(int n_row, int n_col, int Ap, int Ai, double Ax, std::vector<(int)> Bi,
@@ -155,10 +144,10 @@
std::vector<(int)> Bi, std::vector<(int)> Bj,
std::vector<(npy_clongdouble)> Bx)
"""
- return _sparsetools.csctocoo(*args)
+ return _sparsetools.csctocoo(*args)
def cootocsc(*args):
- """
+ """
cootocsc(int n_row, int n_col, int NNZ, int Ai, int Aj, float Ax,
std::vector<(int)> Bp, std::vector<(int)> Bi,
std::vector<(float)> Bx)
@@ -178,10 +167,10 @@
std::vector<(int)> Bp, std::vector<(int)> Bi,
std::vector<(npy_clongdouble)> Bx)
"""
- return _sparsetools.cootocsc(*args)
+ return _sparsetools.cootocsc(*args)
def csrplcsr(*args):
- """
+ """
csrplcsr(int n_row, int n_col, int Ap, int Aj, float Ax, int Bp,
int Bj, float Bx, std::vector<(int)> Cp,
std::vector<(int)> Cj, std::vector<(float)> Cx)
@@ -201,10 +190,10 @@
int Bp, int Bj, npy_clongdouble Bx, std::vector<(int)> Cp,
std::vector<(int)> Cj, std::vector<(npy_clongdouble)> Cx)
"""
- return _sparsetools.csrplcsr(*args)
+ return _sparsetools.csrplcsr(*args)
def cscplcsc(*args):
- """
+ """
cscplcsc(int n_row, int n_col, int Ap, int Ai, float Ax, int Bp,
int Bi, float Bx, std::vector<(int)> Cp,
std::vector<(int)> Ci, std::vector<(float)> Cx)
@@ -224,10 +213,10 @@
int Bp, int Bi, npy_clongdouble Bx, std::vector<(int)> Cp,
std::vector<(int)> Ci, std::vector<(npy_clongdouble)> Cx)
"""
- return _sparsetools.cscplcsc(*args)
+ return _sparsetools.cscplcsc(*args)
def csrmucsr(*args):
- """
+ """
csrmucsr(int n_row, int n_col, int Ap, int Aj, float Ax, int Bp,
int Bj, float Bx, std::vector<(int)> Cp,
std::vector<(int)> Cj, std::vector<(float)> Cx)
@@ -247,10 +236,10 @@
int Bp, int Bj, npy_clongdouble Bx, std::vector<(int)> Cp,
std::vector<(int)> Cj, std::vector<(npy_clongdouble)> Cx)
"""
- return _sparsetools.csrmucsr(*args)
+ return _sparsetools.csrmucsr(*args)
def cscmucsc(*args):
- """
+ """
cscmucsc(int n_row, int n_col, int Ap, int Ai, float Ax, int Bp,
int Bi, float Bx, std::vector<(int)> Cp,
std::vector<(int)> Ci, std::vector<(float)> Cx)
@@ -270,10 +259,10 @@
int Bp, int Bi, npy_clongdouble Bx, std::vector<(int)> Cp,
std::vector<(int)> Ci, std::vector<(npy_clongdouble)> Cx)
"""
- return _sparsetools.cscmucsc(*args)
+ return _sparsetools.cscmucsc(*args)
def csrmux(*args):
- """
+ """
csrmux(int n_row, int n_col, int Ap, int Aj, float Ax, float Xx,
std::vector<(float)> Yx)
csrmux(int n_row, int n_col, int Ap, int Aj, double Ax, double Xx,
@@ -287,10 +276,10 @@
csrmux(int n_row, int n_col, int Ap, int Aj, npy_clongdouble Ax,
npy_clongdouble Xx, std::vector<(npy_clongdouble)> Yx)
"""
- return _sparsetools.csrmux(*args)
+ return _sparsetools.csrmux(*args)
def cscmux(*args):
- """
+ """
cscmux(int n_row, int n_col, int Ap, int Ai, float Ax, float Xx,
std::vector<(float)> Yx)
cscmux(int n_row, int n_col, int Ap, int Ai, double Ax, double Xx,
@@ -304,10 +293,10 @@
cscmux(int n_row, int n_col, int Ap, int Ai, npy_clongdouble Ax,
npy_clongdouble Xx, std::vector<(npy_clongdouble)> Yx)
"""
- return _sparsetools.cscmux(*args)
+ return _sparsetools.cscmux(*args)
def csrelmulcsr(*args):
- """
+ """
csrelmulcsr(int n_row, int n_col, int Ap, int Aj, float Ax, int Bp,
int Bj, float Bx, std::vector<(int)> Cp,
std::vector<(int)> Cj, std::vector<(float)> Cx)
@@ -327,10 +316,10 @@
int Bp, int Bj, npy_clongdouble Bx, std::vector<(int)> Cp,
std::vector<(int)> Cj, std::vector<(npy_clongdouble)> Cx)
"""
- return _sparsetools.csrelmulcsr(*args)
+ return _sparsetools.csrelmulcsr(*args)
def cscelmulcsc(*args):
- """
+ """
cscelmulcsc(int n_row, int n_col, int Ap, int Ai, float Ax, int Bp,
int Bi, float Bx, std::vector<(int)> Cp,
std::vector<(int)> Ci, std::vector<(float)> Cx)
@@ -350,10 +339,10 @@
int Bp, int Bi, npy_clongdouble Bx, std::vector<(int)> Cp,
std::vector<(int)> Ci, std::vector<(npy_clongdouble)> Cx)
"""
- return _sparsetools.cscelmulcsc(*args)
+ return _sparsetools.cscelmulcsc(*args)
def spdiags(*args):
- """
+ """
spdiags(int n_row, int n_col, int n_diag, int offsets, float diags,
std::vector<(int)> Ap, std::vector<(int)> Ai,
std::vector<(float)> Ax)
@@ -373,10 +362,10 @@
std::vector<(int)> Ap, std::vector<(int)> Ai,
std::vector<(npy_clongdouble)> Ax)
"""
- return _sparsetools.spdiags(*args)
+ return _sparsetools.spdiags(*args)
def csrtodense(*args):
- """
+ """
csrtodense(int n_row, int n_col, int Ap, int Aj, float Ax, float Mx)
csrtodense(int n_row, int n_col, int Ap, int Aj, double Ax, double Mx)
csrtodense(int n_row, int n_col, int Ap, int Aj, long double Ax,
@@ -388,10 +377,10 @@
csrtodense(int n_row, int n_col, int Ap, int Aj, npy_clongdouble Ax,
npy_clongdouble Mx)
"""
- return _sparsetools.csrtodense(*args)
+ return _sparsetools.csrtodense(*args)
def densetocsr(*args):
- """
+ """
densetocsr(int n_row, int n_col, float Mx, std::vector<(int)> Ap,
std::vector<(int)> Aj, std::vector<(float)> Ax)
densetocsr(int n_row, int n_col, double Mx, std::vector<(int)> Ap,
@@ -405,5 +394,5 @@
densetocsr(int n_row, int n_col, npy_clongdouble Mx, std::vector<(int)> Ap,
std::vector<(int)> Aj, std::vector<(npy_clongdouble)> Ax)
"""
- return _sparsetools.densetocsr(*args)
+ return _sparsetools.densetocsr(*args)
Modified: trunk/Lib/sparse/sparsetools/sparsetools_wrap.cxx
===================================================================
--- trunk/Lib/sparse/sparsetools/sparsetools_wrap.cxx 2007-01-07 04:20:54 UTC (rev 2501)
+++ trunk/Lib/sparse/sparsetools/sparsetools_wrap.cxx 2007-01-08 05:25:56 UTC (rev 2502)
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.31
+ * Version 1.3.28
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
@@ -27,10 +27,12 @@
};
#endif
-/* -----------------------------------------------------------------------------
+/***********************************************************************
+ *
* This section contains generic SWIG labels for method/variable
* declarations/attributes, and other compiler dependent labels.
- * ----------------------------------------------------------------------------- */
+ *
+ ************************************************************************/
/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
@@ -87,13 +89,7 @@
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif
-/* exporting methods */
-#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
-# ifndef GCC_HASCLASSVISIBILITY
-# define GCC_HASCLASSVISIBILITY
-# endif
-#endif
-
+/* exporting methods for Windows DLLs */
#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# if defined(STATIC_LINKED)
@@ -102,11 +98,7 @@
# define SWIGEXPORT __declspec(dllexport)
# endif
# else
-# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
-# define SWIGEXPORT __attribute__ ((visibility("default")))
-# else
-# define SWIGEXPORT
-# endif
+# define SWIGEXPORT
# endif
#endif
@@ -119,25 +111,21 @@
# endif
#endif
-/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
-#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
-# define _CRT_SECURE_NO_DEPRECATE
-#endif
-
/* Python.h has to appear first */
#include <Python.h>
-/* -----------------------------------------------------------------------------
+/***********************************************************************
* swigrun.swg
*
- * This file contains generic CAPI SWIG runtime support for pointer
- * type checking.
- * ----------------------------------------------------------------------------- */
+ * This file contains generic CAPI SWIG runtime support for pointer
+ * type checking.
+ *
+ ************************************************************************/
/* This should only be incremented when either the layout of swig_type_info changes,
or for whatever reason, the runtime changes incompatibly */
-#define SWIG_RUNTIME_VERSION "3"
+#define SWIG_RUNTIME_VERSION "2"
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
#ifdef SWIG_TYPE_TABLE
@@ -358,7 +346,7 @@
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
while ((*f1 == ' ') && (f1 != l1)) ++f1;
while ((*f2 == ' ') && (f2 != l2)) ++f2;
- if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
+ if (*f1 != *f2) return (int)(*f1 - *f2);
}
return (l1 - f1) - (l2 - f2);
}
@@ -714,11 +702,13 @@
+/* Python.h has to appear first */
+#include <Python.h>
/* Add PyOS_snprintf for old Pythons */
#if PY_VERSION_HEX < 0x02020000
# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
-# define PyOS_snprintf _snprintf
+# define PyOS_snprintf _snprintf
# else
# define PyOS_snprintf snprintf
# endif
@@ -728,7 +718,7 @@
#if PY_VERSION_HEX < 0x02020000
#ifndef SWIG_PYBUFFER_SIZE
-# define SWIG_PYBUFFER_SIZE 1024
+#define SWIG_PYBUFFER_SIZE 1024
#endif
static PyObject *
@@ -739,70 +729,36 @@
va_start(ap, fmt);
res = vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
- return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
+ return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
}
#endif
/* Add PyObject_Del for old Pythons */
#if PY_VERSION_HEX < 0x01060000
-# define PyObject_Del(op) PyMem_DEL((op))
+#define PyObject_Del(op) PyMem_DEL((op))
#endif
#ifndef PyObject_DEL
-# define PyObject_DEL PyObject_Del
+#define PyObject_DEL PyObject_Del
#endif
/* A crude PyExc_StopIteration exception for old Pythons */
#if PY_VERSION_HEX < 0x02020000
-# ifndef PyExc_StopIteration
-# define PyExc_StopIteration PyExc_RuntimeError
-# endif
-# ifndef PyObject_GenericGetAttr
-# define PyObject_GenericGetAttr 0
-# endif
+#define PyExc_StopIteration PyExc_RuntimeError
+#define PyObject_GenericGetAttr 0
+#define Py_NotImplemented PyExc_RuntimeError
#endif
-/* Py_NotImplemented is defined in 2.1 and up. */
-#if PY_VERSION_HEX < 0x02010000
-# ifndef Py_NotImplemented
-# define Py_NotImplemented PyExc_RuntimeError
-# endif
-#endif
/* A crude PyString_AsStringAndSize implementation for old Pythons */
#if PY_VERSION_HEX < 0x02010000
-# ifndef PyString_AsStringAndSize
-# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
-# endif
+#define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
#endif
-/* PySequence_Size for old Pythons */
#if PY_VERSION_HEX < 0x02000000
-# ifndef PySequence_Size
-# define PySequence_Size PySequence_Length
-# endif
+#define PySequence_Size PySequence_Length
#endif
-/* PyBool_FromLong for old Pythons */
-#if PY_VERSION_HEX < 0x02030000
-static
-PyObject *PyBool_FromLong(long ok)
-{
- PyObject *result = ok ? Py_True : Py_False;
- Py_INCREF(result);
- return result;
-}
-#endif
-
-/* Py_ssize_t for old Pythons */
-/* This code is as recommended by: */
-/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
-#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
-typedef int Py_ssize_t;
-# define PY_SSIZE_T_MAX INT_MAX
-# define PY_SSIZE_T_MIN INT_MIN
-#endif
-
/* -----------------------------------------------------------------------------
* error manipulation
* ----------------------------------------------------------------------------- */
@@ -977,17 +933,15 @@
#endif
-/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
+/***********************************************************************
* pyrun.swg
*
- * This file contains the runtime support for Python modules
- * and includes code for managing global variables and pointer
- * type checking.
+ * This file contains the runtime support for Python modules
+ * and includes code for managing global variables and pointer
+ * type checking.
*
- * ----------------------------------------------------------------------------- */
+ * Author : David Beazley (beazley at cs.uchicago.edu)
+ ************************************************************************/
/* Common SWIG API */
@@ -1195,7 +1149,7 @@
SWIGRUNTIMEINLINE PyObject *
_SWIG_Py_None(void)
{
- PyObject *none = Py_BuildValue((char*)"");
+ PyObject *none = Py_BuildValue("");
Py_DECREF(none);
return none;
}
@@ -1217,6 +1171,7 @@
return none;
}
+
/* PySwigClientData */
typedef struct {
@@ -1252,7 +1207,7 @@
PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
/* the klass element */
data->klass = obj;
- Py_INCREF(data->klass);
+ Py_INCREF(obj);
/* the newraw method and newargs arguments used to create a new raw instance */
if (PyClass_Check(obj)) {
data->newraw = 0;
@@ -1261,17 +1216,15 @@
} else {
#if (PY_VERSION_HEX < 0x02020000)
data->newraw = 0;
+ data->newargs = obj;
+ Py_INCREF(obj);
#else
- data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
-#endif
- if (data->newraw) {
- Py_INCREF(data->newraw);
- data->newargs = PyTuple_New(1);
- PyTuple_SetItem(data->newargs, 0, obj);
- } else {
- data->newargs = obj;
- }
+ data->newraw = PyObject_GetAttrString((PyObject*)&PyBaseObject_Type, (char *)"__new__");
+ Py_INCREF(data->newraw);
+ data->newargs = PyTuple_New(1);
+ PyTuple_SetItem(data->newargs, 0, obj);
Py_INCREF(data->newargs);
+#endif
}
/* the destroy method, aka as the C++ delete method */
data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
@@ -1299,6 +1252,7 @@
SWIGRUNTIME void
PySwigClientData_Del(PySwigClientData* data)
{
+ Py_XDECREF(data->klass);
Py_XDECREF(data->newraw);
Py_XDECREF(data->newargs);
Py_XDECREF(data->destroy);
@@ -1351,22 +1305,14 @@
}
SWIGRUNTIME PyObject *
-#ifdef METH_NOARGS
PySwigObject_repr(PySwigObject *v)
-#else
-PySwigObject_repr(PySwigObject *v, PyObject *args)
-#endif
{
const char *name = SWIG_TypePrettyName(v->ty);
PyObject *hex = PySwigObject_hex(v);
PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
Py_DECREF(hex);
if (v->next) {
-#ifdef METH_NOARGS
PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
-#else
- PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
-#endif
PyString_ConcatAndDel(&repr,nrep);
}
return repr;
@@ -1375,11 +1321,7 @@
SWIGRUNTIME int
PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
-#ifdef METH_NOARGS
PyObject *repr = PySwigObject_repr(v);
-#else
- PyObject *repr = PySwigObject_repr(v, NULL);
-#endif
if (repr) {
fputs(PyString_AsString(repr), fp);
Py_DECREF(repr);
@@ -1528,7 +1470,7 @@
else
{
PySwigObject *sobj = (PySwigObject *)v;
- PyObject *obj = PyBool_FromLong(sobj->own);
+ PyObject *obj = sobj->own ? Py_True : Py_False;
if (val) {
#ifdef METH_NOARGS
if (PyObject_IsTrue(val)) {
@@ -1544,6 +1486,7 @@
}
#endif
}
+ Py_INCREF(obj);
return obj;
}
}
@@ -1556,7 +1499,6 @@
{(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
{(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
{(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
- {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
{0, 0, 0, 0}
};
#else
@@ -1567,7 +1509,6 @@
{(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
{(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
{(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
- {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
{0, 0, 0, 0}
};
#endif
@@ -1915,13 +1856,14 @@
if (dictptr != NULL) {
PyObject *dict = *dictptr;
obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
- } else {
+ }
#ifdef PyWeakref_CheckProxy
- if (PyWeakref_CheckProxy(pyobj)) {
- PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
- return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
- }
+ else if (PyWeakref_CheckProxy(pyobj)) {
+ PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
+ return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
+ }
#endif
+ if (!obj) {
obj = PyObject_GetAttr(pyobj,SWIG_This());
if (obj) {
Py_DECREF(obj);
@@ -1949,6 +1891,7 @@
}
}
+
/* Acquire a pointer value */
SWIGRUNTIME int
@@ -2054,7 +1997,7 @@
void *vptr = 0;
/* here we get the method pointer for callbacks */
- const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
+ char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
if (desc) {
desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
@@ -2128,14 +2071,6 @@
}
return inst;
#else
-#if (PY_VERSION_HEX >= 0x02010000)
- PyObject *inst;
- PyObject *dict = PyDict_New();
- PyDict_SetItem(dict, SWIG_This(), swig_this);
- inst = PyInstance_NewRaw(data->newargs, dict);
- Py_DECREF(dict);
- return (PyObject *) inst;
-#else
PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
if (inst == NULL) {
return NULL;
@@ -2147,56 +2082,11 @@
Py_DECREF(inst);
return NULL;
}
-#ifdef Py_TPFLAGS_HAVE_WEAKREFS
- inst->in_weakreflist = NULL;
-#endif
-#ifdef Py_TPFLAGS_GC
- PyObject_GC_Init(inst);
-#endif
PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
return (PyObject *) inst;
#endif
-#endif
}
-SWIGRUNTIME void
-SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
-{
- PyObject *dict;
-#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
- PyObject **dictptr = _PyObject_GetDictPtr(inst);
- if (dictptr != NULL) {
- dict = *dictptr;
- if (dict == NULL) {
- dict = PyDict_New();
- *dictptr = dict;
- }
- PyDict_SetItem(dict, SWIG_This(), swig_this);
- return;
- }
-#endif
- dict = PyObject_GetAttrString(inst, (char*)"__dict__");
- PyDict_SetItem(dict, SWIG_This(), swig_this);
- Py_DECREF(dict);
-}
-
-
-SWIGINTERN PyObject *
-SWIG_Python_InitShadowInstance(PyObject *args) {
- PyObject *obj[2];
- if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
- return NULL;
- } else {
- PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
- if (sthis) {
- PySwigObject_append((PyObject*) sthis, obj[1]);
- } else {
- SWIG_Python_SetSwigThis(obj[0], obj[1]);
- }
- return SWIG_Py_Void();
- }
-}
-
/* Create a new pointer object */
SWIGRUNTIME PyObject *
@@ -2314,35 +2204,7 @@
}
}
-/* The python cached type query */
-SWIGRUNTIME PyObject *
-SWIG_Python_TypeCache(void) {
- static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
- return cache;
-}
-SWIGRUNTIME swig_type_info *
-SWIG_Python_TypeQuery(const char *type)
-{
- PyObject *cache = SWIG_Python_TypeCache();
- PyObject *key = PyString_FromString(type);
- PyObject *obj = PyDict_GetItem(cache, key);
- swig_type_info *descriptor;
- if (obj) {
- descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
- } else {
- swig_module_info *swig_module = SWIG_Python_GetModule();
- descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
- if (descriptor) {
- obj = PyCObject_FromVoidPtr(descriptor, NULL);
- PyDict_SetItem(cache, key, obj);
- Py_DECREF(obj);
- }
- }
- Py_DECREF(key);
- return descriptor;
-}
-
/*
For backward compatibility only
*/
@@ -2483,7 +2345,7 @@
#if (PY_VERSION_HEX <= 0x02000000)
# if !defined(SWIG_PYTHON_CLASSIC)
-# error "This python version requires swig to be run with the '-classic' option"
+# warning "This python version probably requires to use swig with the '-classic' option"
# endif
#endif
@@ -2494,12 +2356,11 @@
#define SWIG_name "_sparsetools"
-#define SWIGVERSION 0x010331
-#define SWIG_VERSION SWIGVERSION
+#define SWIGVERSION 0x010328
-#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
-#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
+#define SWIG_as_voidptr(a) const_cast<void * >(static_cast<const void * >(a))
+#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast<void** >(a))
#include <stdexcept>
@@ -2592,6 +2453,7 @@
#define array_size(a,i) (((PyArrayObject *)a)->dimensions[i])
#define array_is_contiguous(a) (PyArray_ISCONTIGUOUS(a))
+
/* Given a PyObject, return a string describing its type.
*/
char* pytype_string(PyObject* py_obj) {
@@ -2788,7 +2650,7 @@
* array has the specified shape, return 1. Otherwise, set the python
* error string and return 0.
*/
-int require_size(PyArrayObject* ary, int* size, int n) {
+int require_size(PyArrayObject* ary, npy_intp * size, int n) {
int i;
int success = 1;
int len;
@@ -2807,14 +2669,14 @@
}
else
{
- sprintf(s, "%d,", size[i]);
+ sprintf(s,"%" NPY_INTP_FMT ",", size[i]);
}
strcat(desired_dims,s);
}
len = strlen(desired_dims);
desired_dims[len-1] = ']';
for (i = 0; i < n; i++) {
- sprintf(s, "%d,", array_size(ary,i));
+ sprintf(s,"%" NPY_INTP_FMT ",", array_size(ary,i));
strcat(actual_dims,s);
}
len = strlen(actual_dims);
@@ -3002,7 +2864,7 @@
if ((v < INT_MIN || v > INT_MAX)) {
return SWIG_OverflowError;
} else {
- if (val) *val = static_cast< int >(v);
+ if (val) *val = static_cast<int >(v);
}
}
return res;
@@ -3057,14 +2919,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -3072,7 +2934,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -3080,7 +2942,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -3088,6 +2950,7 @@
arg5 = (float*) array5->data;
}
csrtocsc<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -3180,14 +3043,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -3195,7 +3058,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -3203,7 +3066,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -3211,6 +3074,7 @@
arg5 = (double*) array5->data;
}
csrtocsc<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -3303,14 +3167,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -3318,7 +3182,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -3326,7 +3190,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -3334,6 +3198,7 @@
arg5 = (long double*) array5->data;
}
csrtocsc<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -3426,14 +3291,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -3441,7 +3306,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -3449,7 +3314,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -3457,6 +3322,7 @@
arg5 = (npy_cfloat*) array5->data;
}
csrtocsc<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -3549,14 +3415,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -3564,7 +3430,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -3572,7 +3438,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -3580,6 +3446,7 @@
arg5 = (npy_cdouble*) array5->data;
}
csrtocsc<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -3672,14 +3539,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -3687,7 +3554,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -3695,7 +3562,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -3703,6 +3570,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
csrtocsc<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -3947,7 +3815,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'csrtocsc'.\n Possible C/C++ prototypes are:\n csrtocsc<(float)>(int const,int const,int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n csrtocsc<(double)>(int const,int const,int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n csrtocsc<(long double)>(int const,int const,int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n csrtocsc<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n csrtocsc<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n csrtocsc<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csrtocsc'");
return NULL;
}
@@ -3998,14 +3866,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -4013,7 +3881,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -4021,7 +3889,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -4029,6 +3897,7 @@
arg5 = (float*) array5->data;
}
csctocsr<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -4121,14 +3990,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -4136,7 +4005,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -4144,7 +4013,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -4152,6 +4021,7 @@
arg5 = (double*) array5->data;
}
csctocsr<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -4244,14 +4114,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -4259,7 +4129,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -4267,7 +4137,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -4275,6 +4145,7 @@
arg5 = (long double*) array5->data;
}
csctocsr<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -4367,14 +4238,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -4382,7 +4253,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -4390,7 +4261,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -4398,6 +4269,7 @@
arg5 = (npy_cfloat*) array5->data;
}
csctocsr<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -4490,14 +4362,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -4505,7 +4377,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -4513,7 +4385,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -4521,6 +4393,7 @@
arg5 = (npy_cdouble*) array5->data;
}
csctocsr<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -4613,14 +4486,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -4628,7 +4501,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -4636,7 +4509,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -4644,6 +4517,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
csctocsr<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -4888,7 +4762,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'csctocsr'.\n Possible C/C++ prototypes are:\n csctocsr<(float)>(int const,int const,int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n csctocsr<(double)>(int const,int const,int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n csctocsr<(long double)>(int const,int const,int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n csctocsr<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n csctocsr<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n csctocsr<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csctocsr'");
return NULL;
}
@@ -4939,14 +4813,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -4954,7 +4828,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -4962,7 +4836,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -4970,6 +4844,7 @@
arg5 = (float*) array5->data;
}
csrtocoo<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -5062,14 +4937,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -5077,7 +4952,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -5085,7 +4960,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -5093,6 +4968,7 @@
arg5 = (double*) array5->data;
}
csrtocoo<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -5185,14 +5061,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -5200,7 +5076,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -5208,7 +5084,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -5216,6 +5092,7 @@
arg5 = (long double*) array5->data;
}
csrtocoo<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -5308,14 +5185,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -5323,7 +5200,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -5331,7 +5208,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -5339,6 +5216,7 @@
arg5 = (npy_cfloat*) array5->data;
}
csrtocoo<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -5431,14 +5309,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -5446,7 +5324,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -5454,7 +5332,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -5462,6 +5340,7 @@
arg5 = (npy_cdouble*) array5->data;
}
csrtocoo<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -5554,14 +5433,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -5569,7 +5448,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -5577,7 +5456,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -5585,6 +5464,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
csrtocoo<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -5829,7 +5709,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'csrtocoo'.\n Possible C/C++ prototypes are:\n csrtocoo<(float)>(int const,int const,int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n csrtocoo<(double)>(int const,int const,int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n csrtocoo<(long double)>(int const,int const,int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n csrtocoo<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n csrtocoo<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n csrtocoo<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csrtocoo'");
return NULL;
}
@@ -5884,19 +5764,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsr" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -5904,7 +5784,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -5912,7 +5792,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_FLOAT, &is_new_object6);
@@ -5920,6 +5800,7 @@
arg6 = (float*) array6->data;
}
cootocsr<float >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(float const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -6016,19 +5897,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsr" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -6036,7 +5917,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -6044,7 +5925,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_DOUBLE, &is_new_object6);
@@ -6052,6 +5933,7 @@
arg6 = (double*) array6->data;
}
cootocsr<double >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(double const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -6148,19 +6030,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsr" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -6168,7 +6050,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -6176,7 +6058,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_LONGDOUBLE, &is_new_object6);
@@ -6184,6 +6066,7 @@
arg6 = (long double*) array6->data;
}
cootocsr<long double >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(long double const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -6280,19 +6163,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsr" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -6300,7 +6183,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -6308,7 +6191,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CFLOAT, &is_new_object6);
@@ -6316,6 +6199,7 @@
arg6 = (npy_cfloat*) array6->data;
}
cootocsr<npy_cfloat >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(npy_cfloat const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -6412,19 +6296,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsr" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -6432,7 +6316,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -6440,7 +6324,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CDOUBLE, &is_new_object6);
@@ -6448,6 +6332,7 @@
arg6 = (npy_cdouble*) array6->data;
}
cootocsr<npy_cdouble >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(npy_cdouble const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -6544,19 +6429,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsr" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -6564,7 +6449,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -6572,7 +6457,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CLONGDOUBLE, &is_new_object6);
@@ -6580,6 +6465,7 @@
arg6 = (npy_clongdouble*) array6->data;
}
cootocsr<npy_clongdouble >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(npy_clongdouble const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -6860,7 +6746,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'cootocsr'.\n Possible C/C++ prototypes are:\n cootocsr<(float)>(int const,int const,int const,int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n cootocsr<(double)>(int const,int const,int const,int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n cootocsr<(long double)>(int const,int const,int const,int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n cootocsr<(npy_cfloat)>(int const,int const,int const,int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n cootocsr<(npy_cdouble)>(int const,int const,int const,int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n cootocsr<(npy_clongdouble)>(int const,int const,int const,int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'cootocsr'");
return NULL;
}
@@ -6911,14 +6797,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -6926,7 +6812,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -6934,7 +6820,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -6942,6 +6828,7 @@
arg5 = (float*) array5->data;
}
csctocoo<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -7034,14 +6921,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -7049,7 +6936,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -7057,7 +6944,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -7065,6 +6952,7 @@
arg5 = (double*) array5->data;
}
csctocoo<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -7157,14 +7045,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -7172,7 +7060,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -7180,7 +7068,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -7188,6 +7076,7 @@
arg5 = (long double*) array5->data;
}
csctocoo<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -7280,14 +7169,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -7295,7 +7184,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -7303,7 +7192,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -7311,6 +7200,7 @@
arg5 = (npy_cfloat*) array5->data;
}
csctocoo<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -7403,14 +7293,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -7418,7 +7308,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -7426,7 +7316,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -7434,6 +7324,7 @@
arg5 = (npy_cdouble*) array5->data;
}
csctocoo<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -7526,14 +7417,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csctocoo" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csctocoo" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -7541,7 +7432,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -7549,7 +7440,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -7557,6 +7448,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
csctocoo<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -7801,7 +7693,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'csctocoo'.\n Possible C/C++ prototypes are:\n csctocoo<(float)>(int const,int const,int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n csctocoo<(double)>(int const,int const,int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n csctocoo<(long double)>(int const,int const,int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n csctocoo<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n csctocoo<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n csctocoo<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csctocoo'");
return NULL;
}
@@ -7856,19 +7748,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsc" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -7876,7 +7768,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -7884,7 +7776,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_FLOAT, &is_new_object6);
@@ -7892,6 +7784,7 @@
arg6 = (float*) array6->data;
}
cootocsc<float >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(float const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -7988,19 +7881,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsc" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -8008,7 +7901,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -8016,7 +7909,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_DOUBLE, &is_new_object6);
@@ -8024,6 +7917,7 @@
arg6 = (double*) array6->data;
}
cootocsc<double >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(double const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -8120,19 +8014,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsc" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -8140,7 +8034,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -8148,7 +8042,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_LONGDOUBLE, &is_new_object6);
@@ -8156,6 +8050,7 @@
arg6 = (long double*) array6->data;
}
cootocsc<long double >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(long double const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -8252,19 +8147,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsc" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -8272,7 +8167,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -8280,7 +8175,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CFLOAT, &is_new_object6);
@@ -8288,6 +8183,7 @@
arg6 = (npy_cfloat*) array6->data;
}
cootocsc<npy_cfloat >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(npy_cfloat const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -8384,19 +8280,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsc" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -8404,7 +8300,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -8412,7 +8308,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CDOUBLE, &is_new_object6);
@@ -8420,6 +8316,7 @@
arg6 = (npy_cdouble*) array6->data;
}
cootocsc<npy_cdouble >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(npy_cdouble const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -8516,19 +8413,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cootocsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cootocsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cootocsc" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -8536,7 +8433,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_INT, &is_new_object5);
@@ -8544,7 +8441,7 @@
arg5 = (int*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CLONGDOUBLE, &is_new_object6);
@@ -8552,6 +8449,7 @@
arg6 = (npy_clongdouble*) array6->data;
}
cootocsc<npy_clongdouble >(arg1,arg2,arg3,(int const (*))arg4,(int const (*))arg5,(npy_clongdouble const (*))arg6,arg7,arg8,arg9);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -8832,7 +8730,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'cootocsc'.\n Possible C/C++ prototypes are:\n cootocsc<(float)>(int const,int const,int const,int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n cootocsc<(double)>(int const,int const,int const,int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n cootocsc<(long double)>(int const,int const,int const,int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n cootocsc<(npy_cfloat)>(int const,int const,int const,int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n cootocsc<(npy_cdouble)>(int const,int const,int const,int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n cootocsc<(npy_clongdouble)>(int const,int const,int const,int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'cootocsc'");
return NULL;
}
@@ -8895,14 +8793,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrplcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrplcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -8910,7 +8808,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -8918,7 +8816,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -8926,7 +8824,7 @@
arg5 = (float*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -8934,7 +8832,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -8942,7 +8840,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_FLOAT, &is_new_object8);
@@ -8950,6 +8848,7 @@
arg8 = (float*) array8->data;
}
csrplcsr<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,(int const (*))arg6,(int const (*))arg7,(float const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -9072,14 +8971,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrplcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrplcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -9087,7 +8986,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -9095,7 +8994,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -9103,7 +9002,7 @@
arg5 = (double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -9111,7 +9010,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -9119,7 +9018,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_DOUBLE, &is_new_object8);
@@ -9127,6 +9026,7 @@
arg8 = (double*) array8->data;
}
csrplcsr<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -9249,14 +9149,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrplcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrplcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -9264,7 +9164,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -9272,7 +9172,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -9280,7 +9180,7 @@
arg5 = (long double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -9288,7 +9188,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -9296,7 +9196,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_LONGDOUBLE, &is_new_object8);
@@ -9304,6 +9204,7 @@
arg8 = (long double*) array8->data;
}
csrplcsr<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(long double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -9426,14 +9327,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrplcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrplcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -9441,7 +9342,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -9449,7 +9350,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -9457,7 +9358,7 @@
arg5 = (npy_cfloat*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -9465,7 +9366,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -9473,7 +9374,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CFLOAT, &is_new_object8);
@@ -9481,6 +9382,7 @@
arg8 = (npy_cfloat*) array8->data;
}
csrplcsr<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cfloat const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -9603,14 +9505,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrplcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrplcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -9618,7 +9520,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -9626,7 +9528,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -9634,7 +9536,7 @@
arg5 = (npy_cdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -9642,7 +9544,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -9650,7 +9552,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CDOUBLE, &is_new_object8);
@@ -9658,6 +9560,7 @@
arg8 = (npy_cdouble*) array8->data;
}
csrplcsr<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -9780,14 +9683,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrplcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrplcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -9795,7 +9698,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -9803,7 +9706,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -9811,7 +9714,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -9819,7 +9722,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -9827,7 +9730,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CLONGDOUBLE, &is_new_object8);
@@ -9835,6 +9738,7 @@
arg8 = (npy_clongdouble*) array8->data;
}
csrplcsr<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_clongdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -10187,7 +10091,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'csrplcsr'.\n Possible C/C++ prototypes are:\n csrplcsr<(float)>(int const,int const,int const [],int const [],float const [],int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n csrplcsr<(double)>(int const,int const,int const [],int const [],double const [],int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n csrplcsr<(long double)>(int const,int const,int const [],int const [],long double const [],int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n csrplcsr<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n csrplcsr<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n csrplcsr<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csrplcsr'");
return NULL;
}
@@ -10250,14 +10154,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscplcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscplcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -10265,7 +10169,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -10273,7 +10177,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -10281,7 +10185,7 @@
arg5 = (float*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -10289,7 +10193,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -10297,7 +10201,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_FLOAT, &is_new_object8);
@@ -10305,6 +10209,7 @@
arg8 = (float*) array8->data;
}
cscplcsc<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,(int const (*))arg6,(int const (*))arg7,(float const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -10427,14 +10332,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscplcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscplcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -10442,7 +10347,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -10450,7 +10355,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -10458,7 +10363,7 @@
arg5 = (double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -10466,7 +10371,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -10474,7 +10379,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_DOUBLE, &is_new_object8);
@@ -10482,6 +10387,7 @@
arg8 = (double*) array8->data;
}
cscplcsc<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -10604,14 +10510,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscplcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscplcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -10619,7 +10525,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -10627,7 +10533,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -10635,7 +10541,7 @@
arg5 = (long double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -10643,7 +10549,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -10651,7 +10557,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_LONGDOUBLE, &is_new_object8);
@@ -10659,6 +10565,7 @@
arg8 = (long double*) array8->data;
}
cscplcsc<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(long double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -10781,14 +10688,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscplcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscplcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -10796,7 +10703,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -10804,7 +10711,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -10812,7 +10719,7 @@
arg5 = (npy_cfloat*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -10820,7 +10727,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -10828,7 +10735,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CFLOAT, &is_new_object8);
@@ -10836,6 +10743,7 @@
arg8 = (npy_cfloat*) array8->data;
}
cscplcsc<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cfloat const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -10958,14 +10866,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscplcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscplcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -10973,7 +10881,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -10981,7 +10889,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -10989,7 +10897,7 @@
arg5 = (npy_cdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -10997,7 +10905,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -11005,7 +10913,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CDOUBLE, &is_new_object8);
@@ -11013,6 +10921,7 @@
arg8 = (npy_cdouble*) array8->data;
}
cscplcsc<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -11135,14 +11044,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscplcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscplcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -11150,7 +11059,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -11158,7 +11067,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -11166,7 +11075,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -11174,7 +11083,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -11182,7 +11091,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CLONGDOUBLE, &is_new_object8);
@@ -11190,6 +11099,7 @@
arg8 = (npy_clongdouble*) array8->data;
}
cscplcsc<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_clongdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -11542,7 +11452,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'cscplcsc'.\n Possible C/C++ prototypes are:\n cscplcsc<(float)>(int const,int const,int const [],int const [],float const [],int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n cscplcsc<(double)>(int const,int const,int const [],int const [],double const [],int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n cscplcsc<(long double)>(int const,int const,int const [],int const [],long double const [],int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n cscplcsc<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n cscplcsc<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n cscplcsc<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'cscplcsc'");
return NULL;
}
@@ -11605,14 +11515,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmucsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmucsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -11620,7 +11530,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -11628,7 +11538,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -11636,7 +11546,7 @@
arg5 = (float*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -11644,7 +11554,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -11652,7 +11562,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_FLOAT, &is_new_object8);
@@ -11660,6 +11570,7 @@
arg8 = (float*) array8->data;
}
csrmucsr<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,(int const (*))arg6,(int const (*))arg7,(float const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -11782,14 +11693,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmucsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmucsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -11797,7 +11708,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -11805,7 +11716,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -11813,7 +11724,7 @@
arg5 = (double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -11821,7 +11732,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -11829,7 +11740,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_DOUBLE, &is_new_object8);
@@ -11837,6 +11748,7 @@
arg8 = (double*) array8->data;
}
csrmucsr<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -11959,14 +11871,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmucsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmucsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -11974,7 +11886,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -11982,7 +11894,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -11990,7 +11902,7 @@
arg5 = (long double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -11998,7 +11910,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -12006,7 +11918,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_LONGDOUBLE, &is_new_object8);
@@ -12014,6 +11926,7 @@
arg8 = (long double*) array8->data;
}
csrmucsr<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(long double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -12136,14 +12049,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmucsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmucsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -12151,7 +12064,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -12159,7 +12072,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -12167,7 +12080,7 @@
arg5 = (npy_cfloat*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -12175,7 +12088,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -12183,7 +12096,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CFLOAT, &is_new_object8);
@@ -12191,6 +12104,7 @@
arg8 = (npy_cfloat*) array8->data;
}
csrmucsr<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cfloat const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -12313,14 +12227,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmucsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmucsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -12328,7 +12242,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -12336,7 +12250,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -12344,7 +12258,7 @@
arg5 = (npy_cdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -12352,7 +12266,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -12360,7 +12274,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CDOUBLE, &is_new_object8);
@@ -12368,6 +12282,7 @@
arg8 = (npy_cdouble*) array8->data;
}
csrmucsr<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -12490,14 +12405,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmucsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmucsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -12505,7 +12420,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -12513,7 +12428,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -12521,7 +12436,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -12529,7 +12444,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -12537,7 +12452,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CLONGDOUBLE, &is_new_object8);
@@ -12545,6 +12460,7 @@
arg8 = (npy_clongdouble*) array8->data;
}
csrmucsr<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_clongdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -12897,7 +12813,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'csrmucsr'.\n Possible C/C++ prototypes are:\n csrmucsr<(float)>(int const,int const,int const [],int const [],float const [],int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n csrmucsr<(double)>(int const,int const,int const [],int const [],double const [],int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n csrmucsr<(long double)>(int const,int const,int const [],int const [],long double const [],int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n csrmucsr<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n csrmucsr<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n csrmucsr<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csrmucsr'");
return NULL;
}
@@ -12960,14 +12876,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmucsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmucsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -12975,7 +12891,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -12983,7 +12899,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -12991,7 +12907,7 @@
arg5 = (float*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -12999,7 +12915,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -13007,7 +12923,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_FLOAT, &is_new_object8);
@@ -13015,6 +12931,7 @@
arg8 = (float*) array8->data;
}
cscmucsc<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,(int const (*))arg6,(int const (*))arg7,(float const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -13137,14 +13054,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmucsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmucsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -13152,7 +13069,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -13160,7 +13077,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -13168,7 +13085,7 @@
arg5 = (double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -13176,7 +13093,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -13184,7 +13101,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_DOUBLE, &is_new_object8);
@@ -13192,6 +13109,7 @@
arg8 = (double*) array8->data;
}
cscmucsc<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -13314,14 +13232,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmucsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmucsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -13329,7 +13247,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -13337,7 +13255,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -13345,7 +13263,7 @@
arg5 = (long double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -13353,7 +13271,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -13361,7 +13279,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_LONGDOUBLE, &is_new_object8);
@@ -13369,6 +13287,7 @@
arg8 = (long double*) array8->data;
}
cscmucsc<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(long double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -13491,14 +13410,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmucsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmucsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -13506,7 +13425,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -13514,7 +13433,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -13522,7 +13441,7 @@
arg5 = (npy_cfloat*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -13530,7 +13449,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -13538,7 +13457,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CFLOAT, &is_new_object8);
@@ -13546,6 +13465,7 @@
arg8 = (npy_cfloat*) array8->data;
}
cscmucsc<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cfloat const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -13668,14 +13588,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmucsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmucsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -13683,7 +13603,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -13691,7 +13611,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -13699,7 +13619,7 @@
arg5 = (npy_cdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -13707,7 +13627,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -13715,7 +13635,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CDOUBLE, &is_new_object8);
@@ -13723,6 +13643,7 @@
arg8 = (npy_cdouble*) array8->data;
}
cscmucsc<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -13845,14 +13766,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmucsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmucsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -13860,7 +13781,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -13868,7 +13789,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -13876,7 +13797,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -13884,7 +13805,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -13892,7 +13813,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CLONGDOUBLE, &is_new_object8);
@@ -13900,6 +13821,7 @@
arg8 = (npy_clongdouble*) array8->data;
}
cscmucsc<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_clongdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -14252,7 +14174,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'cscmucsc'.\n Possible C/C++ prototypes are:\n cscmucsc<(float)>(int const,int const,int const [],int const [],float const [],int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n cscmucsc<(double)>(int const,int const,int const [],int const [],double const [],int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n cscmucsc<(long double)>(int const,int const,int const [],int const [],long double const [],int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n cscmucsc<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n cscmucsc<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n cscmucsc<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'cscmucsc'");
return NULL;
}
@@ -14295,14 +14217,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -14310,7 +14232,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -14318,7 +14240,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -14326,7 +14248,7 @@
arg5 = (float*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_FLOAT, &is_new_object6);
@@ -14334,6 +14256,7 @@
arg6 = (float*) array6->data;
}
csrmux<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,(float const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -14410,14 +14333,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -14425,7 +14348,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -14433,7 +14356,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -14441,7 +14364,7 @@
arg5 = (double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_DOUBLE, &is_new_object6);
@@ -14449,6 +14372,7 @@
arg6 = (double*) array6->data;
}
csrmux<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,(double const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -14525,14 +14449,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -14540,7 +14464,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -14548,7 +14472,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -14556,7 +14480,7 @@
arg5 = (long double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_LONGDOUBLE, &is_new_object6);
@@ -14564,6 +14488,7 @@
arg6 = (long double*) array6->data;
}
csrmux<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,(long double const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -14640,14 +14565,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -14655,7 +14580,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -14663,7 +14588,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -14671,7 +14596,7 @@
arg5 = (npy_cfloat*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CFLOAT, &is_new_object6);
@@ -14679,6 +14604,7 @@
arg6 = (npy_cfloat*) array6->data;
}
csrmux<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,(npy_cfloat const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -14755,14 +14681,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -14770,7 +14696,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -14778,7 +14704,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -14786,7 +14712,7 @@
arg5 = (npy_cdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CDOUBLE, &is_new_object6);
@@ -14794,6 +14720,7 @@
arg6 = (npy_cdouble*) array6->data;
}
csrmux<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,(npy_cdouble const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -14870,14 +14797,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -14885,7 +14812,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -14893,7 +14820,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -14901,7 +14828,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CLONGDOUBLE, &is_new_object6);
@@ -14909,6 +14836,7 @@
arg6 = (npy_clongdouble*) array6->data;
}
csrmux<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,(npy_clongdouble const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -15175,7 +15103,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'csrmux'.\n Possible C/C++ prototypes are:\n csrmux<(float)>(int const,int const,int const [],int const [],float const [],float const [],std::vector<float > *)\n csrmux<(double)>(int const,int const,int const [],int const [],double const [],double const [],std::vector<double > *)\n csrmux<(long double)>(int const,int const,int const [],int const [],long double const [],long double const [],std::vector<long double > *)\n csrmux<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],npy_cfloat const [],std::vector<npy_cfloat > *)\n csrmux<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],npy_cdouble const [],std::vector<npy_cdouble > *)\n csrmux<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],npy_clongdouble const [],std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csrmux'");
return NULL;
}
@@ -15218,14 +15146,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -15233,7 +15161,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -15241,7 +15169,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -15249,7 +15177,7 @@
arg5 = (float*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_FLOAT, &is_new_object6);
@@ -15257,6 +15185,7 @@
arg6 = (float*) array6->data;
}
cscmux<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,(float const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -15333,14 +15262,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -15348,7 +15277,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -15356,7 +15285,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -15364,7 +15293,7 @@
arg5 = (double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_DOUBLE, &is_new_object6);
@@ -15372,6 +15301,7 @@
arg6 = (double*) array6->data;
}
cscmux<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,(double const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -15448,14 +15378,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -15463,7 +15393,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -15471,7 +15401,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -15479,7 +15409,7 @@
arg5 = (long double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_LONGDOUBLE, &is_new_object6);
@@ -15487,6 +15417,7 @@
arg6 = (long double*) array6->data;
}
cscmux<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,(long double const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -15563,14 +15494,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -15578,7 +15509,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -15586,7 +15517,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -15594,7 +15525,7 @@
arg5 = (npy_cfloat*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CFLOAT, &is_new_object6);
@@ -15602,6 +15533,7 @@
arg6 = (npy_cfloat*) array6->data;
}
cscmux<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,(npy_cfloat const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -15678,14 +15610,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -15693,7 +15625,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -15701,7 +15633,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -15709,7 +15641,7 @@
arg5 = (npy_cdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CDOUBLE, &is_new_object6);
@@ -15717,6 +15649,7 @@
arg6 = (npy_cdouble*) array6->data;
}
cscmux<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,(npy_cdouble const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -15793,14 +15726,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscmux" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscmux" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -15808,7 +15741,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -15816,7 +15749,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -15824,7 +15757,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_CLONGDOUBLE, &is_new_object6);
@@ -15832,6 +15765,7 @@
arg6 = (npy_clongdouble*) array6->data;
}
cscmux<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,(npy_clongdouble const (*))arg6,arg7);
+
resultobj = SWIG_Py_Void();
{
int length = (arg7)->size();
@@ -16098,7 +16032,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'cscmux'.\n Possible C/C++ prototypes are:\n cscmux<(float)>(int const,int const,int const [],int const [],float const [],float const [],std::vector<float > *)\n cscmux<(double)>(int const,int const,int const [],int const [],double const [],double const [],std::vector<double > *)\n cscmux<(long double)>(int const,int const,int const [],int const [],long double const [],long double const [],std::vector<long double > *)\n cscmux<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],npy_cfloat const [],std::vector<npy_cfloat > *)\n cscmux<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],npy_cdouble const [],std::vector<npy_cdouble > *)\n cscmux<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],npy_clongdouble const [],std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'cscmux'");
return NULL;
}
@@ -16161,14 +16095,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrelmulcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrelmulcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -16176,7 +16110,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -16184,7 +16118,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -16192,7 +16126,7 @@
arg5 = (float*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -16200,7 +16134,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -16208,7 +16142,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_FLOAT, &is_new_object8);
@@ -16216,6 +16150,7 @@
arg8 = (float*) array8->data;
}
csrelmulcsr<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,(int const (*))arg6,(int const (*))arg7,(float const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -16338,14 +16273,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrelmulcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrelmulcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -16353,7 +16288,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -16361,7 +16296,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -16369,7 +16304,7 @@
arg5 = (double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -16377,7 +16312,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -16385,7 +16320,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_DOUBLE, &is_new_object8);
@@ -16393,6 +16328,7 @@
arg8 = (double*) array8->data;
}
csrelmulcsr<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -16515,14 +16451,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrelmulcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrelmulcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -16530,7 +16466,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -16538,7 +16474,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -16546,7 +16482,7 @@
arg5 = (long double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -16554,7 +16490,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -16562,7 +16498,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_LONGDOUBLE, &is_new_object8);
@@ -16570,6 +16506,7 @@
arg8 = (long double*) array8->data;
}
csrelmulcsr<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(long double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -16692,14 +16629,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrelmulcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrelmulcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -16707,7 +16644,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -16715,7 +16652,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -16723,7 +16660,7 @@
arg5 = (npy_cfloat*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -16731,7 +16668,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -16739,7 +16676,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CFLOAT, &is_new_object8);
@@ -16747,6 +16684,7 @@
arg8 = (npy_cfloat*) array8->data;
}
csrelmulcsr<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cfloat const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -16869,14 +16807,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrelmulcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrelmulcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -16884,7 +16822,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -16892,7 +16830,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -16900,7 +16838,7 @@
arg5 = (npy_cdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -16908,7 +16846,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -16916,7 +16854,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CDOUBLE, &is_new_object8);
@@ -16924,6 +16862,7 @@
arg8 = (npy_cdouble*) array8->data;
}
csrelmulcsr<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -17046,14 +16985,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrelmulcsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrelmulcsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -17061,7 +17000,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -17069,7 +17008,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -17077,7 +17016,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -17085,7 +17024,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -17093,7 +17032,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CLONGDOUBLE, &is_new_object8);
@@ -17101,6 +17040,7 @@
arg8 = (npy_clongdouble*) array8->data;
}
csrelmulcsr<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_clongdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -17453,7 +17393,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'csrelmulcsr'.\n Possible C/C++ prototypes are:\n csrelmulcsr<(float)>(int const,int const,int const [],int const [],float const [],int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n csrelmulcsr<(double)>(int const,int const,int const [],int const [],double const [],int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n csrelmulcsr<(long double)>(int const,int const,int const [],int const [],long double const [],int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n csrelmulcsr<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n csrelmulcsr<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n csrelmulcsr<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csrelmulcsr'");
return NULL;
}
@@ -17516,14 +17456,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscelmulcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscelmulcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -17531,7 +17471,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -17539,7 +17479,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -17547,7 +17487,7 @@
arg5 = (float*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -17555,7 +17495,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -17563,7 +17503,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_FLOAT, &is_new_object8);
@@ -17571,6 +17511,7 @@
arg8 = (float*) array8->data;
}
cscelmulcsc<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,(int const (*))arg6,(int const (*))arg7,(float const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -17693,14 +17634,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscelmulcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscelmulcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -17708,7 +17649,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -17716,7 +17657,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -17724,7 +17665,7 @@
arg5 = (double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -17732,7 +17673,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -17740,7 +17681,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_DOUBLE, &is_new_object8);
@@ -17748,6 +17689,7 @@
arg8 = (double*) array8->data;
}
cscelmulcsc<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -17870,14 +17812,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscelmulcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscelmulcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -17885,7 +17827,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -17893,7 +17835,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -17901,7 +17843,7 @@
arg5 = (long double*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -17909,7 +17851,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -17917,7 +17859,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_LONGDOUBLE, &is_new_object8);
@@ -17925,6 +17867,7 @@
arg8 = (long double*) array8->data;
}
cscelmulcsc<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,(int const (*))arg6,(int const (*))arg7,(long double const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -18047,14 +17990,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscelmulcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscelmulcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -18062,7 +18005,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -18070,7 +18013,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -18078,7 +18021,7 @@
arg5 = (npy_cfloat*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -18086,7 +18029,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -18094,7 +18037,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CFLOAT, &is_new_object8);
@@ -18102,6 +18045,7 @@
arg8 = (npy_cfloat*) array8->data;
}
cscelmulcsc<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cfloat const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -18224,14 +18168,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscelmulcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscelmulcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -18239,7 +18183,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -18247,7 +18191,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -18255,7 +18199,7 @@
arg5 = (npy_cdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -18263,7 +18207,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -18271,7 +18215,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CDOUBLE, &is_new_object8);
@@ -18279,6 +18223,7 @@
arg8 = (npy_cdouble*) array8->data;
}
cscelmulcsc<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_cdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -18401,14 +18346,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cscelmulcsc" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cscelmulcsc" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -18416,7 +18361,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -18424,7 +18369,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -18432,7 +18377,7 @@
arg5 = (npy_clongdouble*) array5->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(obj5, PyArray_INT, &is_new_object6);
@@ -18440,7 +18385,7 @@
arg6 = (int*) array6->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
@@ -18448,7 +18393,7 @@
arg7 = (int*) array7->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array8 = obj_to_array_contiguous_allow_conversion(obj7, PyArray_CLONGDOUBLE, &is_new_object8);
@@ -18456,6 +18401,7 @@
arg8 = (npy_clongdouble*) array8->data;
}
cscelmulcsc<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,(int const (*))arg6,(int const (*))arg7,(npy_clongdouble const (*))arg8,arg9,arg10,arg11);
+
resultobj = SWIG_Py_Void();
{
int length = (arg9)->size();
@@ -18808,7 +18754,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'cscelmulcsc'.\n Possible C/C++ prototypes are:\n cscelmulcsc<(float)>(int const,int const,int const [],int const [],float const [],int const [],int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n cscelmulcsc<(double)>(int const,int const,int const [],int const [],double const [],int const [],int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n cscelmulcsc<(long double)>(int const,int const,int const [],int const [],long double const [],int const [],int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n cscelmulcsc<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],int const [],int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n cscelmulcsc<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],int const [],int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n cscelmulcsc<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],int const [],int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'cscelmulcsc'");
return NULL;
}
@@ -18859,19 +18805,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "spdiags" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "spdiags" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "spdiags" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -18879,7 +18825,7 @@
arg4 = (int*) array4->data;
}
{
- int size[2] = {
+ npy_intp size[2] = {
-1,-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -18887,6 +18833,7 @@
arg5 = (float*) array5->data;
}
spdiags<float >(arg1,arg2,arg3,(int const (*))arg4,(float const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -18973,19 +18920,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "spdiags" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "spdiags" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "spdiags" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -18993,7 +18940,7 @@
arg4 = (int*) array4->data;
}
{
- int size[2] = {
+ npy_intp size[2] = {
-1,-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -19001,6 +18948,7 @@
arg5 = (double*) array5->data;
}
spdiags<double >(arg1,arg2,arg3,(int const (*))arg4,(double const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -19087,19 +19035,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "spdiags" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "spdiags" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "spdiags" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -19107,7 +19055,7 @@
arg4 = (int*) array4->data;
}
{
- int size[2] = {
+ npy_intp size[2] = {
-1,-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -19115,6 +19063,7 @@
arg5 = (long double*) array5->data;
}
spdiags<long double >(arg1,arg2,arg3,(int const (*))arg4,(long double const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -19201,19 +19150,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "spdiags" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "spdiags" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "spdiags" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -19221,7 +19170,7 @@
arg4 = (int*) array4->data;
}
{
- int size[2] = {
+ npy_intp size[2] = {
-1,-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -19229,6 +19178,7 @@
arg5 = (npy_cfloat*) array5->data;
}
spdiags<npy_cfloat >(arg1,arg2,arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -19315,19 +19265,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "spdiags" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "spdiags" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "spdiags" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -19335,7 +19285,7 @@
arg4 = (int*) array4->data;
}
{
- int size[2] = {
+ npy_intp size[2] = {
-1,-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -19343,6 +19293,7 @@
arg5 = (npy_cdouble*) array5->data;
}
spdiags<npy_cdouble >(arg1,arg2,arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -19429,19 +19380,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "spdiags" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "spdiags" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
ecode3 = SWIG_AsVal_int(obj2, &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "spdiags" "', argument " "3"" of type '" "int""'");
}
- arg3 = static_cast< int >(val3);
+ arg3 = static_cast<int >(val3);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -19452,8 +19403,9 @@
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "spdiags" "', argument " "5"" of type '" "npy_clongdouble const []""'");
}
- arg5 = reinterpret_cast< npy_clongdouble * >(argp5);
+ arg5 = reinterpret_cast<npy_clongdouble * >(argp5);
spdiags<npy_clongdouble >(arg1,arg2,arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,arg6,arg7,arg8);
+
resultobj = SWIG_Py_Void();
{
int length = (arg6)->size();
@@ -19692,7 +19644,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'spdiags'.\n Possible C/C++ prototypes are:\n spdiags<(float)>(int const,int const,int const,int const [],float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n spdiags<(double)>(int const,int const,int const,int const [],double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n spdiags<(long double)>(int const,int const,int const,int const [],long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n spdiags<(npy_cfloat)>(int const,int const,int const,int const [],npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n spdiags<(npy_cdouble)>(int const,int const,int const,int const [],npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n spdiags<(npy_clongdouble)>(int const,int const,int const,int const [],npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'spdiags'");
return NULL;
}
@@ -19728,14 +19680,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtodense" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtodense" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -19743,7 +19695,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -19751,7 +19703,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_FLOAT, &is_new_object5);
@@ -19764,6 +19716,7 @@
arg6 = (float*) temp6->data;
}
csrtodense<float >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(float const (*))arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
if (is_new_object3 && array3) Py_DECREF(array3);
@@ -19820,14 +19773,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtodense" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtodense" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -19835,7 +19788,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -19843,7 +19796,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_DOUBLE, &is_new_object5);
@@ -19856,6 +19809,7 @@
arg6 = (double*) temp6->data;
}
csrtodense<double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(double const (*))arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
if (is_new_object3 && array3) Py_DECREF(array3);
@@ -19912,14 +19866,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtodense" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtodense" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -19927,7 +19881,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -19935,7 +19889,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_LONGDOUBLE, &is_new_object5);
@@ -19948,6 +19902,7 @@
arg6 = (long double*) temp6->data;
}
csrtodense<long double >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(long double const (*))arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
if (is_new_object3 && array3) Py_DECREF(array3);
@@ -20004,14 +19959,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtodense" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtodense" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -20019,7 +19974,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -20027,7 +19982,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CFLOAT, &is_new_object5);
@@ -20040,6 +19995,7 @@
arg6 = (npy_cfloat*) temp6->data;
}
csrtodense<npy_cfloat >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cfloat const (*))arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
if (is_new_object3 && array3) Py_DECREF(array3);
@@ -20096,14 +20052,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtodense" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtodense" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -20111,7 +20067,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -20119,7 +20075,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CDOUBLE, &is_new_object5);
@@ -20132,6 +20088,7 @@
arg6 = (npy_cdouble*) temp6->data;
}
csrtodense<npy_cdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_cdouble const (*))arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
if (is_new_object3 && array3) Py_DECREF(array3);
@@ -20189,14 +20146,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "csrtodense" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "csrtodense" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_INT, &is_new_object3);
@@ -20204,7 +20161,7 @@
arg3 = (int*) array3->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(obj3, PyArray_INT, &is_new_object4);
@@ -20212,7 +20169,7 @@
arg4 = (int*) array4->data;
}
{
- int size[1] = {
+ npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(obj4, PyArray_CLONGDOUBLE, &is_new_object5);
@@ -20223,8 +20180,9 @@
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "csrtodense" "', argument " "6"" of type '" "npy_clongdouble []""'");
}
- arg6 = reinterpret_cast< npy_clongdouble * >(argp6);
+ arg6 = reinterpret_cast<npy_clongdouble * >(argp6);
csrtodense<npy_clongdouble >(arg1,arg2,(int const (*))arg3,(int const (*))arg4,(npy_clongdouble const (*))arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
if (is_new_object3 && array3) Py_DECREF(array3);
@@ -20478,7 +20436,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'csrtodense'.\n Possible C/C++ prototypes are:\n csrtodense<(float)>(int const,int const,int const [],int const [],float const [],float [])\n csrtodense<(double)>(int const,int const,int const [],int const [],double const [],double [])\n csrtodense<(long double)>(int const,int const,int const [],int const [],long double const [],long double [])\n csrtodense<(npy_cfloat)>(int const,int const,int const [],int const [],npy_cfloat const [],npy_cfloat [])\n csrtodense<(npy_cdouble)>(int const,int const,int const [],int const [],npy_cdouble const [],npy_cdouble [])\n csrtodense<(npy_clongdouble)>(int const,int const,int const [],int const [],npy_clongdouble const [],npy_clongdouble [])\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'csrtodense'");
return NULL;
}
@@ -20521,14 +20479,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "densetocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "densetocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[2] = {
+ npy_intp size[2] = {
-1,-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_FLOAT, &is_new_object3);
@@ -20536,6 +20494,7 @@
arg3 = (float*) array3->data;
}
densetocsr<float >(arg1,arg2,(float const (*))arg3,arg4,arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
int length = (arg4)->size();
@@ -20608,14 +20567,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "densetocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "densetocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[2] = {
+ npy_intp size[2] = {
-1,-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_DOUBLE, &is_new_object3);
@@ -20623,6 +20582,7 @@
arg3 = (double*) array3->data;
}
densetocsr<double >(arg1,arg2,(double const (*))arg3,arg4,arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
int length = (arg4)->size();
@@ -20695,14 +20655,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "densetocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "densetocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[2] = {
+ npy_intp size[2] = {
-1,-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_LONGDOUBLE, &is_new_object3);
@@ -20710,6 +20670,7 @@
arg3 = (long double*) array3->data;
}
densetocsr<long double >(arg1,arg2,(long double const (*))arg3,arg4,arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
int length = (arg4)->size();
@@ -20782,14 +20743,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "densetocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "densetocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[2] = {
+ npy_intp size[2] = {
-1,-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_CFLOAT, &is_new_object3);
@@ -20797,6 +20758,7 @@
arg3 = (npy_cfloat*) array3->data;
}
densetocsr<npy_cfloat >(arg1,arg2,(npy_cfloat const (*))arg3,arg4,arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
int length = (arg4)->size();
@@ -20869,14 +20831,14 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "densetocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "densetocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
{
- int size[2] = {
+ npy_intp size[2] = {
-1,-1
};
array3 = obj_to_array_contiguous_allow_conversion(obj2, PyArray_CDOUBLE, &is_new_object3);
@@ -20884,6 +20846,7 @@
arg3 = (npy_cdouble*) array3->data;
}
densetocsr<npy_cdouble >(arg1,arg2,(npy_cdouble const (*))arg3,arg4,arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
int length = (arg4)->size();
@@ -20956,18 +20919,19 @@
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "densetocsr" "', argument " "1"" of type '" "int""'");
}
- arg1 = static_cast< int >(val1);
+ arg1 = static_cast<int >(val1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "densetocsr" "', argument " "2"" of type '" "int""'");
}
- arg2 = static_cast< int >(val2);
+ arg2 = static_cast<int >(val2);
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_npy_clongdouble, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "densetocsr" "', argument " "3"" of type '" "npy_clongdouble const []""'");
}
- arg3 = reinterpret_cast< npy_clongdouble * >(argp3);
+ arg3 = reinterpret_cast<npy_clongdouble * >(argp3);
densetocsr<npy_clongdouble >(arg1,arg2,(npy_clongdouble const (*))arg3,arg4,arg5,arg6);
+
resultobj = SWIG_Py_Void();
{
int length = (arg4)->size();
@@ -21134,7 +21098,7 @@
}
fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'densetocsr'.\n Possible C/C++ prototypes are:\n densetocsr<(float)>(int const,int const,float const [],std::vector<int > *,std::vector<int > *,std::vector<float > *)\n densetocsr<(double)>(int const,int const,double const [],std::vector<int > *,std::vector<int > *,std::vector<double > *)\n densetocsr<(long double)>(int const,int const,long double const [],std::vector<int > *,std::vector<int > *,std::vector<long double > *)\n densetocsr<(npy_cfloat)>(int const,int const,npy_cfloat const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cfloat > *)\n densetocsr<(npy_cdouble)>(int const,int const,npy_cdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_cdouble > *)\n densetocsr<(npy_clongdouble)>(int const,int const,npy_clongdouble const [],std::vector<int > *,std::vector<int > *,std::vector<npy_clongdouble > *)\n");
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'densetocsr'");
return NULL;
}
@@ -21216,7 +21180,7 @@
#ifdef __cplusplus
}
#endif
-/* -----------------------------------------------------------------------------
+/*************************************************************************
* Type initialization:
* This problem is tough by the requirement that no dynamic
* memory is used. Also, since swig_type_info structures store pointers to
@@ -21228,9 +21192,9 @@
* swig_module, and does all the lookup, filling in the swig_module.types
* array with the correct data and linking the correct swig_cast_info
* structures together.
- *
+
* The generated swig_type_info structures are assigned staticly to an initial
- * array. We just loop through that array, and handle each type individually.
+ * array. We just loop though that array, and handle each type individually.
* First we lookup if this type has been already loaded, and if so, use the
* loaded structure instead of the generated one. Then we have to fill in the
* cast linked list. The cast data is initially stored in something like a
@@ -21242,7 +21206,7 @@
* we find the array of casts associated with the type, and loop through it
* adding the casts to the list. The one last trick we need to do is making
* sure the type pointer in the swig_cast_info struct is correct.
- *
+
* First off, we lookup the cast->type name to see if it is already loaded.
* There are three cases to handle:
* 1) If the cast->type has already been loaded AND the type we are adding
@@ -21255,7 +21219,7 @@
* 3) Finally, if cast->type has not already been loaded, then we add that
* swig_cast_info to the linked list (because the cast->type) pointer will
* be correct.
- * ----------------------------------------------------------------------------- */
+**/
#ifdef __cplusplus
extern "C" {
@@ -21268,47 +21232,30 @@
#define SWIGRUNTIME_DEBUG
#endif
-
SWIGRUNTIME void
SWIG_InitializeModule(void *clientdata) {
size_t i;
- swig_module_info *module_head, *iter;
- int found;
+ swig_module_info *module_head;
+ static int init_run = 0;
clientdata = clientdata;
- /* check to see if the circular list has been setup, if not, set it up */
- if (swig_module.next==0) {
- /* Initialize the swig_module */
- swig_module.type_initial = swig_type_initial;
- swig_module.cast_initial = swig_cast_initial;
- swig_module.next = &swig_module;
- }
+ if (init_run) return;
+ init_run = 1;
+ /* Initialize the swig_module */
+ swig_module.type_initial = swig_type_initial;
+ swig_module.cast_initial = swig_cast_initial;
+
/* Try and load any already created modules */
module_head = SWIG_GetModule(clientdata);
- if (!module_head) {
- /* This is the first module loaded for this interpreter */
- /* so set the swig module into the interpreter */
- SWIG_SetModule(clientdata, &swig_module);
- module_head = &swig_module;
- } else {
- /* the interpreter has loaded a SWIG module, but has it loaded this one? */
- found=0;
- iter=module_head;
- do {
- if (iter==&swig_module) {
- found=1;
- break;
- }
- iter=iter->next;
- } while (iter!= module_head);
-
- /* if the is found in the list, then all is done and we may leave */
- if (found) return;
- /* otherwise we must add out module into the list */
+ if (module_head) {
swig_module.next = module_head->next;
module_head->next = &swig_module;
+ } else {
+ /* This is the first module loaded */
+ swig_module.next = &swig_module;
+ SWIG_SetModule(clientdata, &swig_module);
}
/* Now work on filling in swig_module.types */
@@ -21621,7 +21568,7 @@
}
SWIGINTERN PyObject *
- SWIG_globals(void) {
+ SWIG_globals() {
static PyObject *_SWIG_globals = 0;
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
return _SWIG_globals;
@@ -21666,11 +21613,11 @@
swig_type_info **types_initial) {
size_t i;
for (i = 0; methods[i].ml_name; ++i) {
- const char *c = methods[i].ml_doc;
+ char *c = methods[i].ml_doc;
if (c && (c = strstr(c, "swig_ptr: "))) {
int j;
swig_const_info *ci = 0;
- const char *name = c + 10;
+ char *name = c + 10;
for (j = 0; const_table[j].type; ++j) {
if (strncmp(const_table[j].name, name,
strlen(const_table[j].name)) == 0) {
More information about the Scipy-svn
mailing list