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

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

[Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for


From: Bill Lash
Subject: [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs
Date: Fri, 27 Jan 2017 04:22:04 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #14, bug #50124 (project octave):

Can you also try:


z = [1 + 0.5i; 1; 1-0.49i]
cplxpair (z, 0.1)


>From your results it looks like tolerance needs to be between 0 and 1, and is
not multiplied by eps internally (since (1-eps)*eps*abs(z) would not be
greater 0.01)

Also, for the FIXME, can you try:


zz=exp (2i*pi*[0:4]'/5);
cplxpair(zz) - cplxpair(conj(zz))



Also, some of this is getting away from the original issue that I reported. 
Should I create another bug report?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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