[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54143] Why can't issorted() work on matrices?
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #54143] Why can't issorted() work on matrices? |
Date: |
Mon, 18 Jun 2018 18:23:47 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Update of bug #54143 (project octave):
Item Group: None => Matlab Compatibility
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
Yeah, this doesn't really make sense. Consider Matlab's description of the
issorted function (http://www.mathworks.com/help/matlab/ref/issorted.html).
If A is a vector, then issorted returns 1 when the vector elements are in
ascending order.
If A is a matrix, then issorted returns 1 when each column of A is in
ascending order.
If A is a multidimensional array, then issorted returns 1 when A is in
ascending order along the first dimension whose size does not equal 1.
They seem to be able to do it, we should too.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54143>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/