Skip to content

permute accepts dimensions exceeding ndims#3

Merged
DylanMuir merged 1 commit intoDylanMuir:masterfrom
jennan:permute_more_dims
May 31, 2016
Merged

permute accepts dimensions exceeding ndims#3
DylanMuir merged 1 commit intoDylanMuir:masterfrom
jennan:permute_more_dims

Conversation

@jennan
Copy link
Copy Markdown

@jennan jennan commented May 31, 2016

Minor changes to accept permutation of dummy dimensions. Example working in Matlab:

data = ones(3, 2, 4);
permute(data, [4, 1, 2, 3]);

…ons)

This corresponds to the behavior of MATLAB permute function.
@DylanMuir DylanMuir merged commit 8bbda47 into DylanMuir:master May 31, 2016
@DylanMuir
Copy link
Copy Markdown
Owner

Looks good. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants