On 14 April 2010 11:34, Robert Kern wrote:
> On Wed, Apr 14, 2010 at 10:25, Peter Shinners wrote:
>> Is there a way to combine two 1D arrays with the same size into a 2D
>> array? It seems like the internal pointers and strides could be
>> combined. My primary goal is to not make any copies of th
> On Wed, Apr 14, 2010 at 10:25, Peter Shinners
> wrote:
>> Is there a way to combine two 1D arrays with the same size into a 2D
>> array? It seems like the internal pointers and strides could be
>> combined. My primary goal is to not make any copies of the data.
>
> There is absolutely no way t
On Wed, Apr 14, 2010 at 10:25, Peter Shinners wrote:
> Is there a way to combine two 1D arrays with the same size into a 2D
> array? It seems like the internal pointers and strides could be
> combined. My primary goal is to not make any copies of the data.
There is absolutely no way to get around
Is there a way to combine two 1D arrays with the same size into a 2D
array? It seems like the internal pointers and strides could be
combined. My primary goal is to not make any copies of the data. It
might be doable with a bit of ctypes if there is not a native numpy call.
>>> import numpy as