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: Marco Caliari
Subject: [Octave-bug-tracker] [bug #53897] poly of conjugate complex pairs should return a real polynomial
Date: Fri, 19 Oct 2018 07:40:42 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

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

If you take


x = [1+1i,2];
all(sort(x(imag(x)>0))==sort(conj(x(imag(x)<0))))


you get true, which is not correct. How do I check whether sort(x(imag(x)>0))
is the same vector of sort(conj(x(imag(x)<0))))?

    _______________________________________________________

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]