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

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

[Octave-bug-tracker] [bug #47844] sortrows doc string inaccurate


From: Francesco Potortì
Subject: [Octave-bug-tracker] [bug #47844] sortrows doc string inaccurate
Date: Wed, 04 May 2016 12:15:47 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

URL:
  <http://savannah.gnu.org/bugs/?47844>

                 Summary: sortrows doc string inaccurate
                 Project: GNU Octave
            Submitted by: pot
            Submitted on: Wed 04 May 2016 02:15:45 PM CEST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The doc string says:

====
-- Function File: [S, I] = sortrows (A, C)
Sort the rows of the matrix A according to the order of the columns specified
in C.

If C is omitted, a lexicographical sort is used.  By default ascending order
is used however if elements of C are negative then the corresponding column is
sorted in descending order.
====

However, the bit about lexicographic order only makes sense for strings, and
this should be specified.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47844>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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