Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Clarify docs of np.resize(). #17853

Merged
merged 1 commit into from
Nov 27, 2020
Merged

DOC: Clarify docs of np.resize(). #17853

merged 1 commit into from
Nov 27, 2020

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Nov 26, 2020

  • Iteration is done in C-order, not in memory storage order, and
    does not disregard strides during iteration (the implementation starts
    with calling ravel()).
  • This applies even when the new shape is larger, except that on top of
    that there's cycling in that case. The previous wording made it sound
    like "larger" was handled completely differently.

- Iteration is done in C-order, not in memory storage order, and
  does not disregard strides during iteration (the implementation starts
  with calling `ravel()`).
- This applies even when the new shape is larger, except that on top of
  that there's cycling in that case.  The previous wording made it sound
  like "larger" was handled completely differently.
@charris
Copy link
Member

charris commented Nov 27, 2020

Thanks @anntzer .

@anntzer anntzer deleted the resize branch November 27, 2020 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants