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

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

[Octave-bug-tracker] [bug #53880] (x<1)(1) depends on x(2):


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #53880] (x<1)(1) depends on x(2):
Date: Sun, 13 May 2018 05:01:14 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0

Follow-up Comment #9, bug #53880 (project octave):

Mathematically, the complex numbers are not an ordered set. So formally, any
attempt to sort them should produce an error. 
 
However, there are subsets of the complex numbers in which the attempt to
produce an order makes some sense. For example, in the case of a vector which
results from calculations where the imaginary parts formally would all be zero
but some may have accidentally a very small value caused by numerical
inacurrancy.

So what about throwing just a warning in cases where all available sort
methods would produce the same order but an error when there are different
results for the possible methods and no method has been explicitely defined?
Same for max and min. 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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