Skip to content

Commit

Permalink
Remove login-walled article on stride tricks
Browse files Browse the repository at this point in the history
I'm not sure if there's a similar resource out there, but it's not actually
that important (if it were, I would just write it myself).
  • Loading branch information
asmeurer committed Mar 25, 2024
1 parent 465dd3c commit 6555b07
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docs/indexing-guide/other-topics.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,12 +489,9 @@ indexing, `reshape`, `broadcast_to`, and `transpose`, but it's possible to use
strides to represent some things which are not so easy to do with just these
functions, for example, [sliding
windows](https://numpy.org/doc/stable/reference/generated/numpy.lib.stride_tricks.sliding_window_view.html)
and [convolutions](https://stackoverflow.com/a/43087507/161801). [This medium
article by Raimi
Karim](https://towardsdatascience.com/advanced-numpy-master-stride-tricks-with-25-illustrated-exercises-923a9393ab20)
demonstrates many examples of the sorts of things you can do with stride
tricks. However, if you do use stride tricks, be careful of the caveats (see
the [notes section of the `as_strided`
and [convolutions](https://stackoverflow.com/a/43087507/161801). However, if
you do use stride tricks, be careful of the caveats (see the [notes section of
the `as_strided`
docs](https://numpy.org/doc/stable/reference/generated/numpy.lib.stride_tricks.as_strided.html)).

(c-vs-fortran-ordering)=
Expand Down

0 comments on commit 6555b07

Please sign in to comment.