[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38460] Option 'stable' missing from unique()
From: |
Julien Bect |
Subject: |
[Octave-bug-tracker] [bug #38460] Option 'stable' missing from unique() |
Date: |
Sun, 03 Mar 2013 18:37:24 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0 |
URL:
<http://savannah.gnu.org/bugs/?38460>
Summary: Option 'stable' missing from unique()
Project: GNU Octave
Submitted by: jbect
Submitted on: dim. 03 mars 2013 18:37:22 GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
The unique() function in Matlab has a 'stable' option that is currently
missing in Octave.
octave:1> unique({'a', 'c', 'b'}, 'stable')
ans =
{
[1,1] = a
[1,2] = b
[1,3] = c
}
The result should be {'a', 'c', 'b'} with the 'stable' option.
Note that, since Octave currently does not support 'stable' according to the
help text, the above command should trigger an error.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38460>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38460] Option 'stable' missing from unique(),
Julien Bect <=