[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65683] Allow "monotonic" mode for function `i
From: |
Yihua Liu |
Subject: |
[Octave-bug-tracker] [bug #65683] Allow "monotonic" mode for function `issorted` |
Date: |
Sat, 4 May 2024 03:22:03 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?65683>
Summary: Allow "monotonic" mode for function `issorted`
Group: GNU Octave
Submitter: yihua_liu
Submitted: Sat 04 May 2024 03:22:03 PM CST
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Yihua Liu
Originator Email:
Open/Closed: Open
Release: 9.1.0
Discussion Lock: Any
Operating System: Microsoft Windows
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 04 May 2024 03:22:03 PM CST By: Yihua Liu <yihua_liu>
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.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65683>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65683] Allow "monotonic" mode for function `issorted`,
Yihua Liu <=