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

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

[Octave-bug-tracker] [bug #51307] min/max ordering of complex results wi


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #51307] min/max ordering of complex results with equal magnitute is not by phase order
Date: Sat, 24 Jun 2017 19:36:16 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

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

                 Summary: min/max ordering of complex results with equal
magnitute is not by phase order
                 Project: GNU Octave
            Submitted by: jwe
            Submitted on: Sat 24 Jun 2017 11:36:14 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: jwe
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

This problem already has tests in max.cc


## FIXME: Ordering of complex results with equal magnitude is not by phase
##        angle in the 2-input form.  Instead, it is in the order in which it
##        appears in the argument list.
%!xtest
%! x = [1, 2, 3, 4];  y = fliplr (x);
%! assert (max (x, 2i), [2i 2i 3 4]);


I'll tag with a number after this report is submitted.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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