[Numpy-discussion] array reshaping?
sheltraw at unm.edu
Mon Aug 22 14:39:09 CDT 2005
Question: Lets say I have two arrays dimensioned according
my_array = zeros((dim1,dim2,dim3)).astype(Complex32)
my_array_2 = zeros((dim3,dim2)).astype(Complex32)
where dim2 is not equal to dim3. Also Notice that dim2 and
are swapped in my_array_2 relative to my_array. For some
dim1 I would like to write a chunk of data contained in
to the chunk of memory represented by my_array[dim1,:,:].
I best do this?
More information about the Numpy-discussion