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

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

[Octave-bug-tracker] [bug #65616] complex sorting should be only for com


From: anonymous
Subject: [Octave-bug-tracker] [bug #65616] complex sorting should be only for complex numbers
Date: Sat, 20 Apr 2024 09:32:27 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?65616>

                 Summary: complex sorting should be only for complex numbers
                   Group: GNU Octave
               Submitter: None
               Submitted: Sat 20 Apr 2024 01:32:27 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 8.4.0
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 20 Apr 2024 01:32:27 PM UTC By: Anonymous
Sort help states "Sorting of complex entries is done first by magnitude
(‘abs (Z)’) and for any ties by phase angle (‘angle (z)’)."

That sort order should apply only for complex numbers and not for real
numbers. For matrices it should apply only to those columns or rows with
complex numbers, not those columns or rows with all real numbers. Otherwise
the presence of a complex component in row 52 causes the sort order of
all-real row 1 to change, which is a bug.







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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