Skip to content

Conversation

@stevengj
Copy link
Member

As commented on discourse, it would be nice if the permutedims examples began with something like an array of strings where transpose is inapplicable.

This PR simply clarifies the docs and adds a few more examples.

@stevengj stevengj added docs This change adds or pertains to documentation arrays [a, r, r, a, y, s] labels Nov 21, 2023
stevengj and others added 3 commits November 21, 2023 17:13
Co-authored-by: Haakon Ludvig Langeland Ervik <45243236+haakon-e@users.noreply.github.com>
Co-authored-by: Haakon Ludvig Langeland Ervik <45243236+haakon-e@users.noreply.github.com>
@stevengj
Copy link
Member Author

Pursuant to the discussion above, I merged the docstrings for permutedims(A::Array, perm) and permutedims(A::AbstractMatrix), since the latter is just a special case of the former with perm = (2,1).

@stevengj
Copy link
Member Author

Bump.

Co-authored-by: Jishnu Bhattacharya <jishnub.github@gmail.com>
@jishnub
Copy link
Member

jishnub commented Dec 15, 2023

Looks good to me, and it's a clear improvement

@jishnub jishnub added merge me PR is reviewed. Merge when all tests are passing and removed merge me PR is reviewed. Merge when all tests are passing labels Dec 15, 2023
@jishnub jishnub merged commit 9fc1b65 into master Dec 15, 2023
@jishnub jishnub deleted the stevengj-patch-7 branch December 15, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrays [a, r, r, a, y, s] docs This change adds or pertains to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants