-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
when executed the given example, it gives following output:
>>> from numpy.lib.stride_tricks import as_strided
>>> a = np.arange(10)
>>> a
array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
>>>
>>> windows = as_strided(a, shape=(6, 3), strides=(8, 8))
>>> windows
array([[ 0, 2, 4],
[ 2, 4, 6],
[ 4, 6, 8],
[ 6, 8, 1464246683],
[ 8, 1464246683, 6881399],
[1464246683, 6881399, 7274608]])
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels