|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #50426] perms() sort order different than Matlab |
Date: | Tue, 28 Mar 2023 03:50:00 -0400 (EDT) |
Follow-up Comment #20, bug #50426 (project octave): I think perms in octave always sorts numerical values but excludes logicals where the result mirrors MATLAB using the reverse order of the input. The c++ implementation of https://savannah.gnu.org/bugs/?63962 supports both ways (value based reversed ordering via previous sort and matlab position based reversed ordering for logicals) by a flag. So moving to MATLAB position based ordering for everything will be very easy with bug 63692 migrated by setting the bool to default value false in the c++ template. _______________________________________________________ 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] |