bugGNU Octave - Bugs: bug #65683, Allow "monotonic" mode...


bug #65683: Allow "monotonic" mode for function `issorted`

Submitter:  Yihua Liu <yihua_liu>
Submitted:  Sat 04 May 2024 07:22:03 AM UTC
Category:  Octave Function Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  Yihua Liu Open/Closed:  * Open
Release:  * 9.1.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Sat 04 May 2024 07:22:03 AM UTC, original submission:  

Currently, the "MODE" parameter of the function `issorted` could be 'ascend', 'descend', or 'either' in libinterp/corefun/data.cc. However, MATLAB's `issorted` function uses 'ascend', 'descend', or 'monotonic' for the "MODE" parameter. Additionally, MATLAB offers 'strictascend', 'strictdescend', and 'strictmonotonic' modes. It seems that the three new modes are not difficult to extend; the only issue is to change the 'either' mode to 'monotonic' based on my understanding.

Yihua Liu <yihua_liu>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by yihua_liu (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-05-04 jwe Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
        Item GroupMatlab Compatibility Feature Request

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code