(
Jump to the original submission)
Thu 06 Aug 2015 07:21:31 AM UTC, comment #6:
Please close, thanks.
Marco
|
Wed 05 Aug 2015 02:49:56 PM UTC, comment #5:
Should I close this report, or do you want to leave it open with a low priority?
|
Wed 05 Aug 2015 10:32:18 AM UTC, comment #4:
Hi Rik,
Matlab does not work either. On the other hand, I now agree with you that
should leave the matrix unchanged.
Marco
|
Tue 04 Aug 2015 05:52:43 PM UTC, comment #3:
The documentation is pretty clear that you need to specify the order of all dimensions of an N-d array. Since for Octave and Matlab arrays are always at least 2-D the second argument must have a minimum of two entries.
You might check how Matlab handles this. If they have an exception then we might do it to for Matlab compatibility. The documentation is at http://www.mathworks.com/help/matlab/ref/permute.html, but doesn't reference any thing like this.
Also, if I was to introduce an exception, I would think that
would leave the matrix unchanged since it is suggested to put the first dimension of the original matrix in the first dimension slot in the result matrix.
|
Tue 04 Aug 2015 05:25:18 PM UTC, comment #2:
Dear all,
I wrote a code working in d spatial dimensions and used the command
where A is a N-d array. When d=1, there is an "invalid call to permute". Why not to define permute(A,1) as A.', when A is a colum or a row?
Thanks,
Marco
|
Mon 03 Aug 2015 07:56:36 PM UTC, comment #1:
@Marco, I think you need to re-post your bug report. It didn't make it into the comment field.
|
Mon 03 Aug 2015 02:30:49 PM UTC, original submission:
Dear all,
I wrote a code working in d spatial dimensions and used the command
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 2 latest changes.