From:
<je...@fy...> - 2006-07-04 14:25:57
|
Hi! With numpy-0.9.9.2726, I do this: >>> x =3D arange(4) >>> y =3D x[newaxis, :] I would expect both arrays to be contiguous: >>> x.flags.contiguous, y.flags.contiguous (True, False) Shouldn't y be contiguous? Maybe it's because of the strange strides: >>> y.strides (0, 4) >>> y.strides =3D (16, 4) >>> y.flags.contiguous True Jens J=C3=B8rgen |