[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50426] perms() sort order different than Matl
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #50426] perms() sort order different than Matlab |
Date: |
Wed, 18 Oct 2023 16:10:06 -0400 (EDT) |
Follow-up Comment #28, bug #50426 (project octave):
capping off this discussion to note that with matlab 2023b they added an
explicit statement to their docs that the reverse lexicographical ordering
based on position and ignoring element value, with the example:
P = perms(v) returns the same output as:
P = [v(3) v(2) v(1);
v(3) v(1) v(2);
v(2) v(3) v(1);
v(2) v(1) v(3);
v(1) v(3) v(2);
v(1) v(2) v(3)]
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?50426>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #50426] perms() sort order different than Matlab,
Nicholas Jankowski <=