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

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

[Octave-bug-tracker] [bug #53897] poly of conjugate complex pairs should


From: Rik
Subject: [Octave-bug-tracker] [bug #53897] poly of conjugate complex pairs should return a real polynomial
Date: Wed, 17 Oct 2018 00:49:59 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

Follow-up Comment #5, bug #53897 (project octave):

That seems to work.  Would the call to eig ever return values which are not
exactly complex conjugates such that we need to use a tolerance on the
equality test?  In other words,


if (all (abs (sort (x(imag(x)>0)) - sort (conj (x(imag(x)<0)))) < tol))




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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