Re: [Numpy-discussion] State-of-the-art to use a C/C++ library from Python

2016-08-31 Thread David Morris
On Wed, Aug 31, 2016 at 2:28 PM, Michael Bieri wrote: > Hi all > > There are several ways on how to use C/C++ code from Python with NumPy, as > given in http://docs.scipy.org/doc/numpy/user/c-info.html . Furthermore, > there's at least pybind11. > > I'm not quite sure which approach is state-of-t

[Numpy-discussion] Unable to pickle numpy array on iOS

2016-05-02 Thread David Morris
I have an application running on iOS where I pickle a numpy array in order to save it for later use. However, I receive the following error: pickle.dumps(arr) ... _pickle.PicklingError: Can't pickle : import of module 'multiarray' failed On a desktop system (OSX), there is no problem dumping the

Re: [Numpy-discussion] Question about structure arrays

2015-11-09 Thread David Morris
On Nov 7, 2015 2:58 PM, "aerojockey" wrote: > > Hello, > > Recently I made some changes to a program I'm working on, and found that the > changes made it four times slower than before. After some digging, I found > out that one of the new costs was that I added structure arrays. Inside a > low-l

[Numpy-discussion] Compiling NumPy for iOS PyQt app?

2015-09-20 Thread David Morris
I have a PyQt app running on iOS and would like to add NumPy to improve calculation speed. I see a few python interpreters in the app store which use NumPy so it must be possible, however I have not been able to find any information on the build process for the iOS cross compile. We are building