eigency
Advanced tools
+0
-0
@@ -0,0 +0,0 @@ [submodule "eigen"] |
@@ -1,14 +0,11 @@ | ||
| Metadata-Version: 2.1 | ||
| Metadata-Version: 2.4 | ||
| Name: eigency | ||
| Version: 3.4.0.2 | ||
| Version: 3.4.0.4 | ||
| Summary: Cython interface between the numpy arrays and the Matrix/Array classes of the Eigen C++ library | ||
| Home-page: https://github.com/wouterboomsma/eigency | ||
| Author: Wouter Boomsma | ||
| Author-email: wb@di.ku.dk | ||
| License: MIT | ||
| Author-email: Wouter Boomsma <wb@di.ku.dk>, Felipe Bordeu <felipebordeu@gmail.com> | ||
| Maintainer-email: Felipe Bordeu <felipebordeu@gmail.com>, Wouter Boomsma <wb@di.ku.dk> | ||
| Project-URL: Homepage, https://github.com/eigency-org/eigency | ||
| Classifier: Intended Audience :: Developers | ||
| Classifier: License :: OSI Approved :: MIT License | ||
| Classifier: Programming Language :: C++ | ||
| Classifier: Programming Language :: Cython | ||
| Classifier: Programming Language :: Python :: 3.8 | ||
| Classifier: Programming Language :: Python :: 3.9 | ||
@@ -18,6 +15,8 @@ Classifier: Programming Language :: Python :: 3.10 | ||
| Classifier: Programming Language :: Python :: 3.12 | ||
| Requires-Python: >=3.8 | ||
| Classifier: Programming Language :: Python :: 3.13 | ||
| Requires-Python: >=3.9 | ||
| Description-Content-Type: text/markdown | ||
| License-File: LICENSE | ||
| Requires-Dist: numpy | ||
| Requires-Dist: numpy>=1.23.5 | ||
| Dynamic: license-file | ||
@@ -27,6 +26,6 @@ # Eigency | ||
| [](https://badge.fury.io/py/eigency) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/build.yml) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/wheel.yml) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/setup.yml) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/pre-commit.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/build.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/wheel.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/setup.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/pre-commit.yml) | ||
@@ -64,3 +63,3 @@ Eigency is a Cython interface between Numpy arrays and Matrix/Array | ||
| For instructions on building and/or packaging Eigency from source, | ||
| see the contributing guide [here](https://github.com/wouterboomsma/eigency/blob/master/CONTRIBUTING.md). | ||
| see the contributing guide [here](https://github.com/eigency-org/eigency/blob/master/CONTRIBUTING.md). | ||
@@ -67,0 +66,0 @@ ## Usage |
@@ -1,1 +0,1 @@ | ||
| numpy | ||
| numpy>=1.23.5 |
| import os.path | ||
| import numpy as np | ||
| from pkg_resources import resource_filename | ||
| __eigen_dir__ = resource_filename(__name__, "eigen") | ||
| def get_eigency_eigen_dir(): | ||
| from importlib.resources import files | ||
| return (files(__name__) / "eigen").__str__() | ||
| def get_includes(include_eigen=True): | ||
@@ -13,3 +16,4 @@ root = os.path.dirname(__file__) | ||
| if include_eigen: | ||
| __eigen_dir__ = get_eigency_eigen_dir() | ||
| path.append(os.path.join(root, __eigen_dir__)) | ||
| return path |
+118
-79
@@ -1,2 +0,2 @@ | ||
| /* Generated by Cython 3.0.5 */ | ||
| /* Generated by Cython 3.1.3 */ | ||
@@ -40,2 +40,12 @@ #ifndef __PYX_HAVE_API__eigency__conversions | ||
| #define ndarray_copy_float_F __pyx_api_f_7eigency_11conversions_ndarray_copy_float_F | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_long_long)(void) = 0; | ||
| #define ndarray_long_long __pyx_api_f_7eigency_11conversions_ndarray_long_long | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_long_long_C)(PY_LONG_LONG *, long, long, long, long) = 0; | ||
| #define ndarray_long_long_C __pyx_api_f_7eigency_11conversions_ndarray_long_long_C | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_long_long_F)(PY_LONG_LONG *, long, long, long, long) = 0; | ||
| #define ndarray_long_long_F __pyx_api_f_7eigency_11conversions_ndarray_long_long_F | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_copy_long_long_C)(PY_LONG_LONG const *, long, long, long, long) = 0; | ||
| #define ndarray_copy_long_long_C __pyx_api_f_7eigency_11conversions_ndarray_copy_long_long_C | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_copy_long_long_F)(PY_LONG_LONG const *, long, long, long, long) = 0; | ||
| #define ndarray_copy_long_long_F __pyx_api_f_7eigency_11conversions_ndarray_copy_long_long_F | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_long)(void) = 0; | ||
@@ -51,2 +61,12 @@ #define ndarray_long __pyx_api_f_7eigency_11conversions_ndarray_long | ||
| #define ndarray_copy_long_F __pyx_api_f_7eigency_11conversions_ndarray_copy_long_F | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_ulong_long)(void) = 0; | ||
| #define ndarray_ulong_long __pyx_api_f_7eigency_11conversions_ndarray_ulong_long | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_ulong_long_C)(unsigned PY_LONG_LONG *, long, long, long, long) = 0; | ||
| #define ndarray_ulong_long_C __pyx_api_f_7eigency_11conversions_ndarray_ulong_long_C | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_ulong_long_F)(unsigned PY_LONG_LONG *, long, long, long, long) = 0; | ||
| #define ndarray_ulong_long_F __pyx_api_f_7eigency_11conversions_ndarray_ulong_long_F | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_copy_ulong_long_C)(unsigned PY_LONG_LONG const *, long, long, long, long) = 0; | ||
| #define ndarray_copy_ulong_long_C __pyx_api_f_7eigency_11conversions_ndarray_copy_ulong_long_C | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_copy_ulong_long_F)(unsigned PY_LONG_LONG const *, long, long, long, long) = 0; | ||
| #define ndarray_copy_ulong_long_F __pyx_api_f_7eigency_11conversions_ndarray_copy_ulong_long_F | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_ulong)(void) = 0; | ||
@@ -124,9 +144,9 @@ #define ndarray_ulong __pyx_api_f_7eigency_11conversions_ndarray_ulong | ||
| #define ndarray_complex_long_double __pyx_api_f_7eigency_11conversions_ndarray_complex_long_double | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_complex_long_double_C)(npy_clongdouble *, long, long, long, long) = 0; | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_complex_long_double_C)(__pyx_t_long_double_complex *, long, long, long, long) = 0; | ||
| #define ndarray_complex_long_double_C __pyx_api_f_7eigency_11conversions_ndarray_complex_long_double_C | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_complex_long_double_F)(npy_clongdouble *, long, long, long, long) = 0; | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_complex_long_double_F)(__pyx_t_long_double_complex *, long, long, long, long) = 0; | ||
| #define ndarray_complex_long_double_F __pyx_api_f_7eigency_11conversions_ndarray_complex_long_double_F | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_long_double_C)(npy_clongdouble const *, long, long, long, long) = 0; | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_long_double_C)(__pyx_t_long_double_complex const *, long, long, long, long) = 0; | ||
| #define ndarray_copy_complex_long_double_C __pyx_api_f_7eigency_11conversions_ndarray_copy_complex_long_double_C | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_long_double_F)(npy_clongdouble const *, long, long, long, long) = 0; | ||
| static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_long_double_F)(__pyx_t_long_double_complex const *, long, long, long, long) = 0; | ||
| #define ndarray_copy_complex_long_double_F __pyx_api_f_7eigency_11conversions_ndarray_copy_complex_long_double_F | ||
@@ -153,5 +173,7 @@ static PyArrayObject *(*__pyx_api_f_7eigency_11conversions_ndarray_complex_double)(void) = 0; | ||
| #define ndarray_copy_complex_float_F __pyx_api_f_7eigency_11conversions_ndarray_copy_complex_float_F | ||
| #ifndef __PYX_HAVE_RT_ImportFunction_3_0_5 | ||
| #define __PYX_HAVE_RT_ImportFunction_3_0_5 | ||
| static int __Pyx_ImportFunction_3_0_5(PyObject *module, const char *funcname, void (**f)(void), const char *sig) { | ||
| static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig); | ||
| #ifndef __PYX_HAVE_RT_ImportFunction_3_1_3 | ||
| #define __PYX_HAVE_RT_ImportFunction_3_1_3 | ||
| static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) { | ||
| PyObject *d = 0; | ||
@@ -163,6 +185,11 @@ PyObject *cobj = 0; | ||
| } tmp; | ||
| d = PyObject_GetAttrString(module, (char *)"__pyx_capi__"); | ||
| d = PyObject_GetAttrString(module, "__pyx_capi__"); | ||
| if (!d) | ||
| goto bad; | ||
| #if (defined(Py_LIMITED_API) && Py_LIMITED_API >= 0x030d0000) || (!defined(Py_LIMITED_API) && PY_VERSION_HEX >= 0x030d0000) | ||
| PyDict_GetItemStringRef(d, funcname, &cobj); | ||
| #else | ||
| cobj = PyDict_GetItemString(d, funcname); | ||
| Py_XINCREF(cobj); | ||
| #endif | ||
| if (!cobj) { | ||
@@ -185,5 +212,7 @@ PyErr_Format(PyExc_ImportError, | ||
| Py_DECREF(d); | ||
| Py_DECREF(cobj); | ||
| return 0; | ||
| bad: | ||
| Py_XDECREF(d); | ||
| Py_XDECREF(cobj); | ||
| return -1; | ||
@@ -198,72 +227,82 @@ } | ||
| if (!module) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_long_double", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_double, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_long_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_double_C, "PyArrayObject *(long double *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_long_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_double_F, "PyArrayObject *(long double *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_long_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_long_double_C, "PyArrayObject *(long double const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_long_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_long_double_F, "PyArrayObject *(long double const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_double", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_double, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_double_C, "PyArrayObject *(double *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_double_F, "PyArrayObject *(double *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_double_C, "PyArrayObject *(double const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_double_F, "PyArrayObject *(double const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_float", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_float, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_float_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_float_C, "PyArrayObject *(float *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_float_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_float_F, "PyArrayObject *(float *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_float_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_float_C, "PyArrayObject *(float const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_float_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_float_F, "PyArrayObject *(float const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_long", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_long_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_C, "PyArrayObject *(long *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_long_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_F, "PyArrayObject *(long *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_long_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_long_C, "PyArrayObject *(long const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_long_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_long_F, "PyArrayObject *(long const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_ulong", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ulong, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_ulong_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ulong_C, "PyArrayObject *(unsigned long *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_ulong_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ulong_F, "PyArrayObject *(unsigned long *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_ulong_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_ulong_C, "PyArrayObject *(unsigned long const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_ulong_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_ulong_F, "PyArrayObject *(unsigned long const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_int", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_int, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_int_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_int_C, "PyArrayObject *(int *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_int_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_int_F, "PyArrayObject *(int *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_int_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_int_C, "PyArrayObject *(int const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_int_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_int_F, "PyArrayObject *(int const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_uint", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uint, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_uint_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uint_C, "PyArrayObject *(unsigned int *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_uint_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uint_F, "PyArrayObject *(unsigned int *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_uint_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_uint_C, "PyArrayObject *(unsigned int const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_uint_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_uint_F, "PyArrayObject *(unsigned int const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_short", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_short, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_short_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_short_C, "PyArrayObject *(short *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_short_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_short_F, "PyArrayObject *(short *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_short_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_short_C, "PyArrayObject *(short const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_short_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_short_F, "PyArrayObject *(short const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_ushort", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ushort, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_ushort_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ushort_C, "PyArrayObject *(unsigned short *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_ushort_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ushort_F, "PyArrayObject *(unsigned short *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_ushort_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_ushort_C, "PyArrayObject *(unsigned short const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_ushort_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_ushort_F, "PyArrayObject *(unsigned short const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_schar", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_schar, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_schar_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_schar_C, "PyArrayObject *(signed char *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_schar_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_schar_F, "PyArrayObject *(signed char *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_schar_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_schar_C, "PyArrayObject *(signed char const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_schar_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_schar_F, "PyArrayObject *(signed char const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_uchar", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uchar, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_uchar_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uchar_C, "PyArrayObject *(unsigned char *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_uchar_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uchar_F, "PyArrayObject *(unsigned char *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_uchar_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_uchar_C, "PyArrayObject *(unsigned char const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_uchar_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_uchar_F, "PyArrayObject *(unsigned char const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_complex_long_double", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_long_double, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_complex_long_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_long_double_C, "PyArrayObject *(npy_clongdouble *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_complex_long_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_long_double_F, "PyArrayObject *(npy_clongdouble *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_complex_long_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_long_double_C, "PyArrayObject *(npy_clongdouble const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_complex_long_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_long_double_F, "PyArrayObject *(npy_clongdouble const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_complex_double", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_double, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_complex_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_double_C, "PyArrayObject *(__pyx_t_double_complex *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_complex_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_double_F, "PyArrayObject *(__pyx_t_double_complex *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_complex_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_double_C, "PyArrayObject *(__pyx_t_double_complex const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_complex_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_double_F, "PyArrayObject *(__pyx_t_double_complex const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_complex_float", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_float, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_complex_float_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_float_C, "PyArrayObject *(__pyx_t_float_complex *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_complex_float_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_float_F, "PyArrayObject *(__pyx_t_float_complex *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_complex_float_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_float_C, "PyArrayObject *(__pyx_t_float_complex const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_0_5(module, "ndarray_copy_complex_float_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_float_F, "PyArrayObject *(__pyx_t_float_complex const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_long_double", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_double, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_long_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_double_C, "PyArrayObject *(long double *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_long_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_double_F, "PyArrayObject *(long double *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_long_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_long_double_C, "PyArrayObject *(long double const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_long_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_long_double_F, "PyArrayObject *(long double const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_double", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_double, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_double_C, "PyArrayObject *(double *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_double_F, "PyArrayObject *(double *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_double_C, "PyArrayObject *(double const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_double_F, "PyArrayObject *(double const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_float", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_float, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_float_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_float_C, "PyArrayObject *(float *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_float_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_float_F, "PyArrayObject *(float *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_float_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_float_C, "PyArrayObject *(float const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_float_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_float_F, "PyArrayObject *(float const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_long_long", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_long, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_long_long_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_long_C, "PyArrayObject *(PY_LONG_LONG *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_long_long_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_long_F, "PyArrayObject *(PY_LONG_LONG *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_long_long_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_long_long_C, "PyArrayObject *(PY_LONG_LONG const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_long_long_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_long_long_F, "PyArrayObject *(PY_LONG_LONG const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_long", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_long_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_C, "PyArrayObject *(long *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_long_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_long_F, "PyArrayObject *(long *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_long_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_long_C, "PyArrayObject *(long const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_long_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_long_F, "PyArrayObject *(long const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_ulong_long", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ulong_long, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_ulong_long_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ulong_long_C, "PyArrayObject *(unsigned PY_LONG_LONG *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_ulong_long_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ulong_long_F, "PyArrayObject *(unsigned PY_LONG_LONG *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_ulong_long_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_ulong_long_C, "PyArrayObject *(unsigned PY_LONG_LONG const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_ulong_long_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_ulong_long_F, "PyArrayObject *(unsigned PY_LONG_LONG const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_ulong", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ulong, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_ulong_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ulong_C, "PyArrayObject *(unsigned long *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_ulong_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ulong_F, "PyArrayObject *(unsigned long *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_ulong_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_ulong_C, "PyArrayObject *(unsigned long const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_ulong_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_ulong_F, "PyArrayObject *(unsigned long const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_int", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_int, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_int_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_int_C, "PyArrayObject *(int *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_int_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_int_F, "PyArrayObject *(int *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_int_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_int_C, "PyArrayObject *(int const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_int_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_int_F, "PyArrayObject *(int const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_uint", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uint, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_uint_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uint_C, "PyArrayObject *(unsigned int *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_uint_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uint_F, "PyArrayObject *(unsigned int *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_uint_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_uint_C, "PyArrayObject *(unsigned int const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_uint_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_uint_F, "PyArrayObject *(unsigned int const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_short", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_short, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_short_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_short_C, "PyArrayObject *(short *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_short_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_short_F, "PyArrayObject *(short *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_short_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_short_C, "PyArrayObject *(short const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_short_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_short_F, "PyArrayObject *(short const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_ushort", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ushort, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_ushort_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ushort_C, "PyArrayObject *(unsigned short *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_ushort_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_ushort_F, "PyArrayObject *(unsigned short *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_ushort_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_ushort_C, "PyArrayObject *(unsigned short const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_ushort_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_ushort_F, "PyArrayObject *(unsigned short const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_schar", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_schar, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_schar_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_schar_C, "PyArrayObject *(signed char *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_schar_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_schar_F, "PyArrayObject *(signed char *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_schar_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_schar_C, "PyArrayObject *(signed char const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_schar_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_schar_F, "PyArrayObject *(signed char const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_uchar", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uchar, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_uchar_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uchar_C, "PyArrayObject *(unsigned char *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_uchar_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_uchar_F, "PyArrayObject *(unsigned char *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_uchar_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_uchar_C, "PyArrayObject *(unsigned char const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_uchar_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_uchar_F, "PyArrayObject *(unsigned char const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_complex_long_double", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_long_double, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_complex_long_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_long_double_C, "PyArrayObject *(__pyx_t_long_double_complex *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_complex_long_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_long_double_F, "PyArrayObject *(__pyx_t_long_double_complex *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_complex_long_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_long_double_C, "PyArrayObject *(__pyx_t_long_double_complex const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_complex_long_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_long_double_F, "PyArrayObject *(__pyx_t_long_double_complex const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_complex_double", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_double, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_complex_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_double_C, "PyArrayObject *(__pyx_t_double_complex *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_complex_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_double_F, "PyArrayObject *(__pyx_t_double_complex *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_complex_double_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_double_C, "PyArrayObject *(__pyx_t_double_complex const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_complex_double_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_double_F, "PyArrayObject *(__pyx_t_double_complex const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_complex_float", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_float, "PyArrayObject *(void)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_complex_float_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_float_C, "PyArrayObject *(__pyx_t_float_complex *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_complex_float_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_complex_float_F, "PyArrayObject *(__pyx_t_float_complex *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_complex_float_C", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_float_C, "PyArrayObject *(__pyx_t_float_complex const *, long, long, long, long)") < 0) goto bad; | ||
| if (__Pyx_ImportFunction_3_1_3(module, "ndarray_copy_complex_float_F", (void (**)(void))&__pyx_api_f_7eigency_11conversions_ndarray_copy_complex_float_F, "PyArrayObject *(__pyx_t_float_complex const *, long, long, long, long)") < 0) goto bad; | ||
| Py_DECREF(module); module = 0; | ||
@@ -270,0 +309,0 @@ return 0; |
+28
-15
| cimport numpy as np | ||
| # Array with limit 2D | ||
| cdef api np.ndarray[long double, ndim=2] ndarray_long_double() | ||
@@ -22,2 +23,8 @@ cdef api np.ndarray[long double, ndim=2] ndarray_long_double_C(long double *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[long long, ndim=2] ndarray_long_long() | ||
| cdef api np.ndarray[long long, ndim=2] ndarray_long_long_C(long long *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[long long, ndim=2] ndarray_long_long_F(long long *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[long long, ndim=2] ndarray_copy_long_long_C(const long long *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[long long, ndim=2] ndarray_copy_long_long_F(const long long *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[long, ndim=2] ndarray_long() | ||
@@ -29,2 +36,8 @@ cdef api np.ndarray[long, ndim=2] ndarray_long_C(long *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[unsigned long long, ndim=2] ndarray_ulong_long() | ||
| cdef api np.ndarray[unsigned long long, ndim=2] ndarray_ulong_long_C(unsigned long long *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[unsigned long long, ndim=2] ndarray_ulong_long_F(unsigned long long *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[unsigned long long, ndim=2] ndarray_copy_ulong_long_C(const unsigned long long *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[unsigned long long, ndim=2] ndarray_copy_ulong_long_F(const unsigned long long *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[unsigned long, ndim=2] ndarray_ulong() | ||
@@ -72,18 +85,18 @@ cdef api np.ndarray[unsigned long, ndim=2] ndarray_ulong_C(unsigned long *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.npy_clongdouble, ndim=2] ndarray_complex_long_double() | ||
| cdef api np.ndarray[np.npy_clongdouble, ndim=2] ndarray_complex_long_double_C(np.npy_clongdouble *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.npy_clongdouble, ndim=2] ndarray_complex_long_double_F(np.npy_clongdouble *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.npy_clongdouble, ndim=2] ndarray_copy_complex_long_double_C(const np.npy_clongdouble *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.npy_clongdouble, ndim=2] ndarray_copy_complex_long_double_F(const np.npy_clongdouble *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[long double complex, ndim=2] ndarray_complex_long_double() | ||
| cdef api np.ndarray[long double complex, ndim=2] ndarray_complex_long_double_C(long double complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[long double complex, ndim=2] ndarray_complex_long_double_F(long double complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[long double complex, ndim=2] ndarray_copy_complex_long_double_C(const long double complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[long double complex, ndim=2] ndarray_copy_complex_long_double_F(const long double complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.complex128_t, ndim=2] ndarray_complex_double() | ||
| cdef api np.ndarray[np.complex128_t, ndim=2] ndarray_complex_double_C(np.complex128_t *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.complex128_t, ndim=2] ndarray_complex_double_F(np.complex128_t *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.complex128_t, ndim=2] ndarray_copy_complex_double_C(const np.complex128_t *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.complex128_t, ndim=2] ndarray_copy_complex_double_F(const np.complex128_t *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[double complex, ndim=2] ndarray_complex_double() | ||
| cdef api np.ndarray[double complex, ndim=2] ndarray_complex_double_C(double complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[double complex, ndim=2] ndarray_complex_double_F(double complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[double complex, ndim=2] ndarray_copy_complex_double_C(const double complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[double complex, ndim=2] ndarray_copy_complex_double_F(const double complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.complex64_t, ndim=2] ndarray_complex_float() | ||
| cdef api np.ndarray[np.complex64_t, ndim=2] ndarray_complex_float_C(np.complex64_t *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.complex64_t, ndim=2] ndarray_complex_float_F(np.complex64_t *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.complex64_t, ndim=2] ndarray_copy_complex_float_C(const np.complex64_t *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[np.complex64_t, ndim=2] ndarray_copy_complex_float_F(const np.complex64_t *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[float complex, ndim=2] ndarray_complex_float() | ||
| cdef api np.ndarray[float complex, ndim=2] ndarray_complex_float_C(float complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[float complex, ndim=2] ndarray_complex_float_F(float complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[float complex, ndim=2] ndarray_copy_complex_float_C(const float complex *data, long rows, long cols, long outer_stride, long inner_stride) | ||
| cdef api np.ndarray[float complex, ndim=2] ndarray_copy_complex_float_F(const float complex *data, long rows, long cols, long outer_stride, long inner_stride) |
+151
-79
| cimport cython | ||
| cimport numpy as np | ||
@@ -6,14 +7,15 @@ import numpy as np | ||
| # Array with limit 2D | ||
| # | ||
| # long double | ||
| # double | ||
| # | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[long double, ndim=2] ndarray_long_double(): | ||
| return np.empty((0,0), dtype='longdouble') | ||
| cdef np.ndarray[double, ndim=2] ndarray_double(): | ||
| return np.empty((0,0), dtype='double') | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[long double, ndim=2] ndarray_long_double_C(long double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double[:,:] mem_view = <long double[:rows,:cols]>data | ||
| dtype = 'longdouble' | ||
| cdef np.ndarray[double, ndim=2] ndarray_double_C(double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double[:,:] mem_view = <double[:rows,:cols]>data | ||
| dtype = 'double' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -23,5 +25,5 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[long double, ndim=2] ndarray_long_double_F(long double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double[::1,:] mem_view = <long double[:rows:1,:cols]>data | ||
| dtype = 'longdouble' | ||
| cdef np.ndarray[double, ndim=2] ndarray_double_F(double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double[::1,:] mem_view = <double[:rows:1,:cols]>data | ||
| dtype = 'double' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -31,5 +33,5 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[long double, ndim=2] ndarray_copy_long_double_C(const long double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double[:,:] mem_view = <long double[:rows,:cols]>data | ||
| dtype = 'longdouble' | ||
| cdef np.ndarray[double, ndim=2] ndarray_copy_double_C(const double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double[:,:] mem_view = <double[:rows,:cols]>data | ||
| dtype = 'double' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -39,5 +41,5 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[long double, ndim=2] ndarray_copy_long_double_F(const long double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double[::1,:] mem_view = <long double[:rows:1,:cols]>data | ||
| dtype = 'longdouble' | ||
| cdef np.ndarray[double, ndim=2] ndarray_copy_double_F(const double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double[::1,:] mem_view = <double[:rows:1,:cols]>data | ||
| dtype = 'double' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -47,13 +49,13 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| # | ||
| # double | ||
| # long double | ||
| # | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[double, ndim=2] ndarray_double(): | ||
| return np.empty((0,0), dtype='double') | ||
| cdef np.ndarray[long double, ndim=2] ndarray_long_double(): | ||
| return np.empty((0,0), dtype='longdouble') | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[double, ndim=2] ndarray_double_C(double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double[:,:] mem_view = <double[:rows,:cols]>data | ||
| dtype = 'double' | ||
| cdef np.ndarray[long double, ndim=2] ndarray_long_double_C(long double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double[:,:] mem_view = <long double[:rows,:cols]>data | ||
| dtype = 'longdouble' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -63,5 +65,5 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[double, ndim=2] ndarray_double_F(double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double[::1,:] mem_view = <double[:rows:1,:cols]>data | ||
| dtype = 'double' | ||
| cdef np.ndarray[long double, ndim=2] ndarray_long_double_F(long double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double[::1,:] mem_view = <long double[:rows:1,:cols]>data | ||
| dtype = 'longdouble' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -71,5 +73,5 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[double, ndim=2] ndarray_copy_double_C(const double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double[:,:] mem_view = <double[:rows,:cols]>data | ||
| dtype = 'double' | ||
| cdef np.ndarray[long double, ndim=2] ndarray_copy_long_double_C(const long double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double[:,:] mem_view = <long double[:rows,:cols]>data | ||
| dtype = 'longdouble' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -79,5 +81,5 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[double, ndim=2] ndarray_copy_double_F(const double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double[::1,:] mem_view = <double[:rows:1,:cols]>data | ||
| dtype = 'double' | ||
| cdef np.ndarray[long double, ndim=2] ndarray_copy_long_double_F(const long double *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double[::1,:] mem_view = <long double[:rows:1,:cols]>data | ||
| dtype = 'longdouble' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -121,3 +123,38 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| # | ||
| # long long | ||
| # | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[ longlong, ndim=2] ndarray_long_long(): | ||
| return np.empty((0,0), dtype='longlong') | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[longlong, ndim=2] ndarray_long_long_C(long long *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long long[:,:] mem_view = <long long[:rows,:cols]>data | ||
| dtype = 'longlong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
| return as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[longlong, ndim=2] ndarray_long_long_F(long long *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long long[::1,:] mem_view = <long long[:rows:1,:cols]>data | ||
| dtype = 'longlong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
| return as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[longlong, ndim=2] ndarray_copy_long_long_C(const long long *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long long[:,:] mem_view = <long long[:rows,:cols]>data | ||
| dtype = 'longlong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
| return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[longlong, ndim=2] ndarray_copy_long_long_F(const long long *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long long[::1,:] mem_view = <long long[:rows:1,:cols]>data | ||
| dtype = 'longlong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
| return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| # | ||
@@ -129,3 +166,3 @@ # long | ||
| cdef np.ndarray[long, ndim=2] ndarray_long(): | ||
| return np.empty((0,0), dtype='int_') | ||
| return np.empty((0,0), dtype='long') | ||
@@ -135,3 +172,3 @@ @cython.boundscheck(False) | ||
| cdef long[:,:] mem_view = <long[:rows,:cols]>data | ||
| dtype = 'int_' | ||
| dtype = 'long' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -143,3 +180,3 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| cdef long[::1,:] mem_view = <long[:rows:1,:cols]>data | ||
| dtype = 'int_' | ||
| dtype = 'long' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -151,3 +188,3 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| cdef long[:,:] mem_view = <long[:rows,:cols]>data | ||
| dtype = 'int_' | ||
| dtype = 'long' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -159,3 +196,3 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| cdef long[::1,:] mem_view = <long[:rows:1,:cols]>data | ||
| dtype = 'int_' | ||
| dtype = 'long' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -165,2 +202,37 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| # | ||
| # unsigned long long | ||
| # | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[unsigned long long, ndim=2] ndarray_ulong_long(): | ||
| return np.empty((0,0), dtype='ulong') | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[unsigned long long, ndim=2] ndarray_ulong_long_C(unsigned long long *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef unsigned long long[:,:] mem_view = <unsigned long long[:rows,:cols]>data | ||
| dtype = 'ulonglong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
| return as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[unsigned long long, ndim=2] ndarray_ulong_long_F(unsigned long long *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef unsigned long long[::1,:] mem_view = <unsigned long long[:rows:1,:cols]>data | ||
| dtype = 'ulonglong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
| return as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[unsigned long long, ndim=2] ndarray_copy_ulong_long_C(const unsigned long long *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef unsigned long long[:,:] mem_view = <unsigned long long[:rows,:cols]>data | ||
| dtype = 'ulonglong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
| return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[unsigned long long, ndim=2] ndarray_copy_ulong_long_F(const unsigned long long *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef unsigned long long[::1,:] mem_view = <unsigned long long[:rows:1,:cols]>data | ||
| dtype = 'ulonglong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
| return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| # | ||
| # unsigned long | ||
@@ -171,3 +243,3 @@ # | ||
| cdef np.ndarray[unsigned long, ndim=2] ndarray_ulong(): | ||
| return np.empty((0,0), dtype='uint') | ||
| return np.empty((0,0), dtype='ulong') | ||
@@ -177,3 +249,3 @@ @cython.boundscheck(False) | ||
| cdef unsigned long[:,:] mem_view = <unsigned long[:rows,:cols]>data | ||
| dtype = 'uint' | ||
| dtype = 'ulong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -185,3 +257,3 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| cdef unsigned long[::1,:] mem_view = <unsigned long[:rows:1,:cols]>data | ||
| dtype = 'uint' | ||
| dtype = 'ulong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -193,3 +265,3 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| cdef unsigned long[:,:] mem_view = <unsigned long[:rows,:cols]>data | ||
| dtype = 'uint' | ||
| dtype = 'ulong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -201,3 +273,3 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| cdef unsigned long[::1,:] mem_view = <unsigned long[:rows:1,:cols]>data | ||
| dtype = 'uint' | ||
| dtype = 'ulong' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -423,13 +495,13 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| # | ||
| # complex long double | ||
| # complex double | ||
| # | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.npy_clongdouble, ndim=2] ndarray_complex_long_double(): | ||
| return np.empty((0,0), dtype='clongdouble') | ||
| cdef np.ndarray[double complex, ndim=2] ndarray_complex_double(): | ||
| return np.empty((0,0), dtype='complex128') | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.npy_clongdouble, ndim=2] ndarray_complex_long_double_C(np.npy_clongdouble *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.npy_clongdouble[:,:] mem_view = <np.npy_clongdouble[:rows,:cols]>data | ||
| dtype = 'clongdouble' | ||
| cdef np.ndarray[double complex, ndim=2] ndarray_complex_double_C(double complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double complex[:,:] mem_view = <double complex[:rows,:cols]>data | ||
| dtype = 'complex128' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -439,5 +511,5 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.npy_clongdouble, ndim=2] ndarray_complex_long_double_F(np.npy_clongdouble *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.npy_clongdouble[::1,:] mem_view = <np.npy_clongdouble[:rows:1,:cols]>data | ||
| dtype = 'clongdouble' | ||
| cdef np.ndarray[double complex, ndim=2] ndarray_complex_double_F(double complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double complex[::1,:] mem_view = <double complex[:rows:1,:cols]>data | ||
| dtype = 'complex128' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -447,5 +519,5 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.npy_clongdouble, ndim=2] ndarray_copy_complex_long_double_C(const np.npy_clongdouble *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.npy_clongdouble[:,:] mem_view = <np.npy_clongdouble[:rows,:cols]>data | ||
| dtype = 'clongdouble' | ||
| cdef np.ndarray[double complex, ndim=2] ndarray_copy_complex_double_C(const double complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double complex[:,:] mem_view = <double complex[:rows,:cols]>data | ||
| dtype = 'complex128' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -455,5 +527,5 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.npy_clongdouble, ndim=2] ndarray_copy_complex_long_double_F(const np.npy_clongdouble *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.npy_clongdouble[::1,:] mem_view = <np.npy_clongdouble[:rows:1,:cols]>data | ||
| dtype = 'clongdouble' | ||
| cdef np.ndarray[double complex, ndim=2] ndarray_copy_complex_double_F(const double complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef double complex[::1,:] mem_view = <double complex[:rows:1,:cols]>data | ||
| dtype = 'complex128' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -463,13 +535,13 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| # | ||
| # complex double | ||
| # complex long double | ||
| # | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.complex128_t, ndim=2] ndarray_complex_double(): | ||
| return np.empty((0,0), dtype='complex128') | ||
| cdef np.ndarray[long double complex, ndim=2] ndarray_complex_long_double(): | ||
| return np.empty((0,0), dtype='clongdouble') | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.complex128_t, ndim=2] ndarray_complex_double_C(np.complex128_t *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.complex128_t[:,:] mem_view = <np.complex128_t[:rows,:cols]>data | ||
| dtype = 'complex128' | ||
| cdef np.ndarray[long double complex, ndim=2] ndarray_complex_long_double_C(long double complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double complex[:,:] mem_view = <long double complex[:rows,:cols]>data | ||
| dtype = 'clongdouble' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -479,5 +551,5 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.complex128_t, ndim=2] ndarray_complex_double_F(np.complex128_t *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.complex128_t[::1,:] mem_view = <np.complex128_t[:rows:1,:cols]>data | ||
| dtype = 'complex128' | ||
| cdef np.ndarray[long double complex, ndim=2] ndarray_complex_long_double_F(long double complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double complex[::1,:] mem_view = <long double complex[:rows:1,:cols]>data | ||
| dtype = 'clongdouble' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -487,5 +559,5 @@ return as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize]) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.complex128_t, ndim=2] ndarray_copy_complex_double_C(const np.complex128_t *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.complex128_t[:,:] mem_view = <np.complex128_t[:rows,:cols]>data | ||
| dtype = 'complex128' | ||
| cdef np.ndarray[long double complex, ndim=2] ndarray_copy_complex_long_double_C(const long double complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double complex[:,:] mem_view = <long double complex[:rows,:cols]>data | ||
| dtype = 'clongdouble' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -495,5 +567,5 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="C"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.complex128_t, ndim=2] ndarray_copy_complex_double_F(const np.complex128_t *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.complex128_t[::1,:] mem_view = <np.complex128_t[:rows:1,:cols]>data | ||
| dtype = 'complex128' | ||
| cdef np.ndarray[long double complex, ndim=2] ndarray_copy_complex_long_double_F(const long double complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef long double complex[::1,:] mem_view = <long double complex[:rows:1,:cols]>data | ||
| dtype = 'clongdouble' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
@@ -507,8 +579,8 @@ return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize])) | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.complex64_t, ndim=2] ndarray_complex_float(): | ||
| cdef np.ndarray[float complex, ndim=2] ndarray_complex_float(): | ||
| return np.empty((0,0), dtype='complex64') | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.complex64_t, ndim=2] ndarray_complex_float_C(np.complex64_t *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.complex64_t[:,:] mem_view = <np.complex64_t[:rows,:cols]>data | ||
| cdef np.ndarray[float complex, ndim=2] ndarray_complex_float_C(float complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef float complex[:,:] mem_view = <float complex[:rows,:cols]>data | ||
| dtype = 'complex64' | ||
@@ -519,4 +591,4 @@ cdef int itemsize = np.dtype(dtype).itemsize | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.complex64_t, ndim=2] ndarray_complex_float_F(np.complex64_t *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.complex64_t[::1,:] mem_view = <np.complex64_t[:rows:1,:cols]>data | ||
| cdef np.ndarray[float complex, ndim=2] ndarray_complex_float_F(float complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef float complex[::1,:] mem_view = <float complex[:rows:1,:cols]>data | ||
| dtype = 'complex64' | ||
@@ -527,4 +599,4 @@ cdef int itemsize = np.dtype(dtype).itemsize | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.complex64_t, ndim=2] ndarray_copy_complex_float_C(const np.complex64_t *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.complex64_t[:,:] mem_view = <np.complex64_t[:rows,:cols]>data | ||
| cdef np.ndarray[float complex, ndim=2] ndarray_copy_complex_float_C(const float complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef float complex[:,:] mem_view = <float complex[:rows,:cols]>data | ||
| dtype = 'complex64' | ||
@@ -535,6 +607,6 @@ cdef int itemsize = np.dtype(dtype).itemsize | ||
| @cython.boundscheck(False) | ||
| cdef np.ndarray[np.complex64_t, ndim=2] ndarray_copy_complex_float_F(const np.complex64_t *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef np.complex64_t[::1,:] mem_view = <np.complex64_t[:rows:1,:cols]>data | ||
| cdef np.ndarray[float complex, ndim=2] ndarray_copy_complex_float_F(const float complex *data, long rows, long cols, long row_stride, long col_stride): | ||
| cdef float complex[::1,:] mem_view = <float complex[:rows:1,:cols]>data | ||
| dtype = 'complex64' | ||
| cdef int itemsize = np.dtype(dtype).itemsize | ||
| return np.copy(as_strided(np.asarray(mem_view, dtype=dtype, order="F"), strides=[row_stride*itemsize, col_stride*itemsize])) |
+0
-0
@@ -0,0 +0,0 @@ cimport cython |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ //#define EIGEN_POWER_USE_PREFETCH // Use prefetching in gemm routines |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* Copyright 2017 The TensorFlow Authors. All Rights Reserved. |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ namespace Eigen { |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /*************************************************************************** |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ #ifndef EIGEN_WARNINGS_DISABLED |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
| #ifdef EIGEN_MPL2_ONLY | ||
| #error Including non-MPL2 code in EIGEN_MPL2_ONLY mode | ||
| #endif |
@@ -0,0 +0,0 @@ #ifdef EIGEN_WARNINGS_DISABLED_2 |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ #ifndef BLAS_H |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ #ifndef LAPACK_H |
@@ -0,0 +0,0 @@ #ifndef LAPACK_HEADER_INCLUDED |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
@@ -0,0 +0,0 @@ // This file is part of Eigen, a lightweight C++ template library |
+22
-15
@@ -9,3 +9,5 @@ #include <iostream> | ||
| #include <Eigen/Core> | ||
| #include <numpy/arrayobject.h> | ||
| #include <numpy/ndarraytypes.h> | ||
| #include <numpy/ndarrayobject.h> | ||
@@ -16,2 +18,3 @@ #include "eigency.h" | ||
| typedef ::std::complex< float > __pyx_t_float_complex; | ||
| typedef ::std::complex< long double > __pyx_t_long_double_complex; | ||
@@ -70,4 +73,8 @@ #include "conversions_api.h" | ||
| _NDAC(long, ndarray_long, ndarray_copy_long_C, ndarray_copy_long_F) | ||
| _NDAV(long long, ndarray_long_long, ndarray_long_long_C, ndarray_long_long_F) | ||
| _NDAC(long long, ndarray_long_long, ndarray_copy_long_long_C, ndarray_copy_long_long_F) | ||
| _NDAV(unsigned long, ndarray_ulong, ndarray_ulong_C, ndarray_ulong_F) | ||
| _NDAC(unsigned long, ndarray_ulong, ndarray_copy_ulong_C, ndarray_copy_ulong_F) | ||
| _NDAV(unsigned long long, ndarray_ulong_long, ndarray_ulong_long_C, ndarray_ulong_long_F) | ||
| _NDAC(unsigned long long, ndarray_ulong_long, ndarray_copy_ulong_long_C, ndarray_copy_ulong_long_F) | ||
| _NDAV(int, ndarray_int, ndarray_int_C, ndarray_int_F) | ||
@@ -85,4 +92,4 @@ _NDAC(int, ndarray_int, ndarray_copy_int_C, ndarray_copy_int_F) | ||
| _NDAC(unsigned char, ndarray_uchar, ndarray_copy_uchar_C, ndarray_copy_uchar_F) | ||
| _NDAV(npy_clongdouble, ndarray_complex_long_double, ndarray_complex_long_double_C, ndarray_complex_long_double_F) | ||
| _NDAC(npy_clongdouble, ndarray_complex_long_double, ndarray_copy_complex_long_double_C, ndarray_copy_complex_long_double_F) | ||
| _NDAV(std::complex<long double>, ndarray_complex_long_double, ndarray_complex_long_double_C, ndarray_complex_long_double_F) | ||
| _NDAC(std::complex<long double>, ndarray_complex_long_double, ndarray_copy_complex_long_double_C, ndarray_copy_complex_long_double_F) | ||
| _NDAV(std::complex<double>, ndarray_complex_double, ndarray_complex_double_C, ndarray_complex_double_F) | ||
@@ -252,8 +259,8 @@ _NDAC(std::complex<double>, ndarray_complex_double, ndarray_copy_complex_double_C, ndarray_copy_complex_double_F) | ||
| FlattenedMap(PyArrayObject *object) | ||
| : Base((Scalar *)((PyArrayObject*)object)->data, | ||
| : Base((Scalar *) PyArray_DATA(((PyArrayObject*)object)), | ||
| // : Base(_from_numpy<Scalar>((PyArrayObject*)object), | ||
| (((PyArrayObject*)object)->nd == 2) ? ((PyArrayObject*)object)->dimensions[0] : 1, | ||
| (((PyArrayObject*)object)->nd == 2) ? ((PyArrayObject*)object)->dimensions[1] : ((PyArrayObject*)object)->dimensions[0], | ||
| Eigen::Stride<_StrideOuter, _StrideInner>(_StrideOuter != Eigen::Dynamic ? _StrideOuter : (((PyArrayObject*)object)->nd == 2) ? ((PyArrayObject*)object)->dimensions[0] : 1, | ||
| _StrideInner != Eigen::Dynamic ? _StrideInner : (((PyArrayObject*)object)->nd == 2) ? ((PyArrayObject*)object)->dimensions[1] : ((PyArrayObject*)object)->dimensions[0])), | ||
| (PyArray_NDIM((PyArrayObject*)object) == 2) ? PyArray_DIMS((PyArrayObject*)object)[0] : 1, | ||
| (PyArray_NDIM((PyArrayObject*)object) == 2) ? PyArray_DIMS((PyArrayObject*)object)[1] : PyArray_DIMS((PyArrayObject*)object)[0], | ||
| Eigen::Stride<_StrideOuter, _StrideInner>(_StrideOuter != Eigen::Dynamic ? _StrideOuter : (PyArray_NDIM((PyArrayObject*)object) == 2) ? PyArray_DIMS((PyArrayObject*)object)[0] : 1, | ||
| _StrideInner != Eigen::Dynamic ? _StrideInner : (PyArray_NDIM((PyArrayObject*)object) == 2) ? PyArray_DIMS((PyArrayObject*)object)[1] : PyArray_DIMS((PyArrayObject*)object)[0])), | ||
| object_(object) { | ||
@@ -330,17 +337,17 @@ | ||
| Map(PyArrayObject *object) | ||
| : Base((PyObject*)object == Py_None? NULL: (Scalar *)object->data, | ||
| : Base((PyObject*)object == Py_None? NULL: (Scalar *)PyArray_DATA(object), | ||
| // ROW: If array is in row-major order, transpose (see README) | ||
| (PyObject*)object == Py_None? 0 : | ||
| (!PyArray_IS_F_CONTIGUOUS(object) | ||
| ? ((object->nd == 1) | ||
| ? ((PyArray_NDIM(object) == 1) | ||
| ? 1 // ROW: If 1D row-major numpy array, set to 1 (row vector) | ||
| : object->dimensions[1]) | ||
| : object->dimensions[0]), | ||
| : PyArray_DIMS(object)[1]) | ||
| : PyArray_DIMS(object)[0]), | ||
| // COLUMN: If array is in row-major order: transpose (see README) | ||
| (PyObject*)object == Py_None? 0 : | ||
| (!PyArray_IS_F_CONTIGUOUS(object) | ||
| ? object->dimensions[0] | ||
| : ((object->nd == 1) | ||
| ? PyArray_DIMS(object)[0] | ||
| : ((PyArray_NDIM(object) == 1) | ||
| ? 1 // COLUMN: If 1D col-major numpy array, set to length (column vector) | ||
| : object->dimensions[1]))), | ||
| : PyArray_DIMS(object)[1]))), | ||
| object_(object) { | ||
@@ -399,2 +406,2 @@ | ||
| #endif | ||
| #endif |
@@ -59,2 +59,2 @@ #ifndef EIGENCY_H | ||
| #endif | ||
| #endif |
+0
-0
@@ -0,0 +0,0 @@ Copyright (c) 2016 Wouter Boomsma |
+14
-15
@@ -1,14 +0,11 @@ | ||
| Metadata-Version: 2.1 | ||
| Metadata-Version: 2.4 | ||
| Name: eigency | ||
| Version: 3.4.0.2 | ||
| Version: 3.4.0.4 | ||
| Summary: Cython interface between the numpy arrays and the Matrix/Array classes of the Eigen C++ library | ||
| Home-page: https://github.com/wouterboomsma/eigency | ||
| Author: Wouter Boomsma | ||
| Author-email: wb@di.ku.dk | ||
| License: MIT | ||
| Author-email: Wouter Boomsma <wb@di.ku.dk>, Felipe Bordeu <felipebordeu@gmail.com> | ||
| Maintainer-email: Felipe Bordeu <felipebordeu@gmail.com>, Wouter Boomsma <wb@di.ku.dk> | ||
| Project-URL: Homepage, https://github.com/eigency-org/eigency | ||
| Classifier: Intended Audience :: Developers | ||
| Classifier: License :: OSI Approved :: MIT License | ||
| Classifier: Programming Language :: C++ | ||
| Classifier: Programming Language :: Cython | ||
| Classifier: Programming Language :: Python :: 3.8 | ||
| Classifier: Programming Language :: Python :: 3.9 | ||
@@ -18,6 +15,8 @@ Classifier: Programming Language :: Python :: 3.10 | ||
| Classifier: Programming Language :: Python :: 3.12 | ||
| Requires-Python: >=3.8 | ||
| Classifier: Programming Language :: Python :: 3.13 | ||
| Requires-Python: >=3.9 | ||
| Description-Content-Type: text/markdown | ||
| License-File: LICENSE | ||
| Requires-Dist: numpy | ||
| Requires-Dist: numpy>=1.23.5 | ||
| Dynamic: license-file | ||
@@ -27,6 +26,6 @@ # Eigency | ||
| [](https://badge.fury.io/py/eigency) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/build.yml) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/wheel.yml) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/setup.yml) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/pre-commit.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/build.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/wheel.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/setup.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/pre-commit.yml) | ||
@@ -64,3 +63,3 @@ Eigency is a Cython interface between Numpy arrays and Matrix/Array | ||
| For instructions on building and/or packaging Eigency from source, | ||
| see the contributing guide [here](https://github.com/wouterboomsma/eigency/blob/master/CONTRIBUTING.md). | ||
| see the contributing guide [here](https://github.com/eigency-org/eigency/blob/master/CONTRIBUTING.md). | ||
@@ -67,0 +66,0 @@ ## Usage |
+44
-4
| [build-system] | ||
| requires = [ | ||
| "setuptools>=42", | ||
| "setuptools_scm", | ||
| "oldest-supported-numpy", | ||
| "Cython" | ||
| "setuptools>=64.0.0", | ||
| # "setuptools_scm>=8", | ||
| "oldest-supported-numpy; python_version<='3.8'", | ||
| "numpy>=2.0.0; python_version>'3.8'", | ||
| "Cython>=3.0.0" | ||
| ] | ||
| build-backend = "setuptools.build_meta" | ||
| [project] | ||
| name = "eigency" | ||
| #dynamic = ["version"] | ||
| version = "3.4.0.4" | ||
| description = "Cython interface between the numpy arrays and the Matrix/Array classes of the Eigen C++ library" | ||
| readme = "README.md" | ||
| requires-python = ">=3.9" | ||
| license-files = ["LICENSE"] | ||
| dependencies = [ | ||
| "numpy>=1.23.5", | ||
| ] | ||
| authors = [ | ||
| {name = "Wouter Boomsma", email = "wb@di.ku.dk"}, | ||
| {name = "Felipe Bordeu", email = "felipebordeu@gmail.com"} | ||
| ] | ||
| maintainers = [ | ||
| {name = "Felipe Bordeu", email = "felipebordeu@gmail.com"}, | ||
| {name = "Wouter Boomsma", email = "wb@di.ku.dk"} | ||
| ] | ||
| classifiers = [ | ||
| "Intended Audience :: Developers", | ||
| "Programming Language :: C++", | ||
| "Programming Language :: Cython", | ||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| ] | ||
| [project.urls] | ||
| Homepage = "https://github.com/eigency-org/eigency" | ||
| [tool.setuptools_scm] |
+5
-5
| # Eigency | ||
| [](https://badge.fury.io/py/eigency) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/build.yml) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/wheel.yml) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/setup.yml) | ||
| [](https://github.com/wouterboomsma/eigency/actions/workflows/pre-commit.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/build.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/wheel.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/setup.yml) | ||
| [](https://github.com/eigency-org/eigency/actions/workflows/pre-commit.yml) | ||
@@ -40,3 +40,3 @@ Eigency is a Cython interface between Numpy arrays and Matrix/Array | ||
| For instructions on building and/or packaging Eigency from source, | ||
| see the contributing guide [here](https://github.com/wouterboomsma/eigency/blob/master/CONTRIBUTING.md). | ||
| see the contributing guide [here](https://github.com/eigency-org/eigency/blob/master/CONTRIBUTING.md). | ||
@@ -43,0 +43,0 @@ ## Usage |
+0
-0
@@ -0,0 +0,0 @@ [sdist] |
+25
-32
@@ -11,8 +11,14 @@ import os | ||
| import eigency # noqa: E402 | ||
| __package_name__ = "eigency" | ||
| __eigen_dir__ = eigency.__eigen_dir__ | ||
| __eigen_lib_dir__ = join(basename(__eigen_dir__), "Eigen") | ||
| include_dirs = [np.get_include()] | ||
| if "EIGEN_INC" in os.environ: | ||
| useSystemEigen = True | ||
| include_dirs.append(os.environ["EIGEN_INC"]) | ||
| else: | ||
| useSystemEigen = False | ||
| import eigency # noqa: E402 | ||
| __eigen_dir__ = eigency.get_eigency_eigen_dir() | ||
| __eigen_lib_dir__ = join(basename(__eigen_dir__), "Eigen") | ||
| include_dirs.append(__eigen_dir__) | ||
| # Not all users may have cython installed. If they only want this as a means | ||
@@ -41,4 +47,5 @@ # to access the Eigen header files to compile their own C++ code, then they | ||
| ["eigency/conversions" + ext], | ||
| include_dirs=[np.get_include(), __eigen_dir__], | ||
| include_dirs=include_dirs, | ||
| language="c++", | ||
| define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")], | ||
| ), | ||
@@ -48,4 +55,5 @@ Extension( | ||
| ["eigency/core" + ext], | ||
| include_dirs=[np.get_include(), __eigen_dir__], | ||
| include_dirs=include_dirs, | ||
| language="c++", | ||
| define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")], | ||
| ), | ||
@@ -65,27 +73,14 @@ ] | ||
| eigen_data_files = [] | ||
| for root, dirs, files in os.walk(join(__eigen_dir__, "Eigen")): | ||
| for f in files: | ||
| if f.endswith(".h"): | ||
| eigen_data_files.append(join(root, f)) | ||
| exclude_package_data = {} | ||
| if not useSystemEigen: | ||
| for root, dirs, files in os.walk(join(__eigen_dir__, "Eigen")): | ||
| for f in files: | ||
| if f.endswith(".h"): | ||
| eigen_data_files.append(join(root, f)) | ||
| eigen_data_files.append(join(__eigen_lib_dir__, "*")) | ||
| exclude_package_data = {__package_name__: [join(__eigen_lib_dir__, "CMakeLists.txt")]} | ||
| setup( | ||
| name=__package_name__, | ||
| description="Cython interface between the numpy arrays and the Matrix/Array classes of the Eigen C++ library", | ||
| long_description=long_description, | ||
| long_description_content_type="text/markdown", | ||
| classifiers=[ | ||
| "Intended Audience :: Developers", | ||
| "License :: OSI Approved :: MIT License", | ||
| "Programming Language :: C++", | ||
| "Programming Language :: Cython", | ||
| "Programming Language :: Python :: 3.8", | ||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| ], | ||
| license="MIT", | ||
| author="Wouter Boomsma", | ||
| author_email="wb@di.ku.dk", | ||
| url="https://github.com/wouterboomsma/eigency", | ||
| use_scm_version=True, | ||
@@ -102,6 +97,4 @@ ext_modules=extensions, | ||
| include_package_data=True, | ||
| package_data={__package_name__: ["*.h", "*.pxd", "*.pyx", join(__eigen_lib_dir__, "*")] + eigen_data_files}, | ||
| exclude_package_data={__package_name__: [join(__eigen_lib_dir__, "CMakeLists.txt")]}, | ||
| python_requires=">=3.8", | ||
| install_requires=["numpy"], | ||
| package_data={__package_name__: ["*.h", "*.pxd", "*.pyx"] + eigen_data_files}, | ||
| exclude_package_data=exclude_package_data, | ||
| ) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
9017444
6.62%95
-5%