[Numpy-discussion] Does NumPy support indirect memory views?
cournape at gmail.com
Sat Dec 14 14:59:10 EST 2013
On Sat, Dec 14, 2013 at 7:39 PM, Alexander Belopolsky <ndarray at mac.com>wrote:
> PEP 3118  allows exposing multi-dimensional data that is organized as
> array of pointers. It appears, however that NumPy cannot consume such
> memory views.
> Looking at _array_from_buffer_3118() function , I don't see any attempt
> to process suboffsets. The documentation  is also silent on this issue.
> What is the status of indirect memory views/buffers support in NumPy?
There is indeed no support in NumPy for this. Unfortunately, fixing this
would be a significant amount of work, as buffer management is not really
abstracted in NumPy ATM.
>  http://www.python.org/dev/peps/pep-3118/
>  http://docs.scipy.org/doc/numpy/reference/arrays.interface.html
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion