Frank Peacock wrote:
> Hello
>
> I would like to know whether there is a simple way to construct a constant
> array of tuples:
>
> How do I construct an array of size (width*height) where each element is
> (w,x,y,z)
Is this what you want?
a = np.empty((5,6), dtype=np.object)
>>> for i in range
Hello
I would like to know whether there is a simple way to construct a constant
array of tuples:
How do I construct an array of size (width*height) where each element is
(w,x,y,z)
Frank
-Original Message-
From: numpy-discussion-boun...@scipy.org
[mailto:numpy-discussion-boun...@scipy.o