|
| From: | Marco Caliari |
| Subject: | [Octave-bug-tracker] [bug #53897] poly of conjugate complex pairs should return a real polynomial |
| Date: | Tue, 16 Oct 2018 03:00:30 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0 |
Follow-up Comment #4, bug #53897 (project octave):
What about the following?
if all(sort(x(imag(x)>0))==sort(conj(x(imag(x)<0))))
y = real (y);
endif
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?53897>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |