[Numpy-discussion] Using as_strided to avoid copy on repeat (with 2-dimensional array)
Stéfan van der Walt
Tue Aug 13 04:54:52 CDT 2013
On Mon, Aug 12, 2013 at 11:23 PM, Robert Kern <firstname.lastname@example.org> wrote:
>> Is it possible to do the same using 'as_strided' to avoid copy (and still
>> get the same output shape for B) ?
> No, this would not be uniformly strided in the 0 axis.
Now, if only we supported simple fraction strides...
More information about the NumPy-Discussion