octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65683] issorted: enable 'monotonic' and "stri


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65683] issorted: enable 'monotonic' and "strict..." sort modes.
Date: Fri, 14 Jun 2024 14:04:49 -0400 (EDT)

Update of bug #65683 (group octave):

                  Status:                    None => Patch Submitted        
        Operating System:       Microsoft Windows => Any                    
         Planned Release:                    None => 10.1.0 (current default)
                 Summary: Allow "monotonic" mode for function `issorted` =>
issorted: enable 'monotonic' and "strict..." sort modes.

    _______________________________________________________

Follow-up Comment #1:

The primary request here is pretty simple. running tests now on a  patch that
enables monotonic as an alias for unique.

for the other options ('strictascend', 'strictdescend', 'strictmonotonic' (and
i guess 'stricteither')) their might be more efficient ways to check, but
something like:


issorted(A, 'strictascend') -->  (issorted (A, 'ascend') && A != unique (A))

should do the job. 


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65683>

{savane: Include the next line when replying by email.}
{savane: user = octave-bug-tracker@gnu.org; tracker = bugs; item = 65683}

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]