[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 06:33:43 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #18, bug #50124 (project octave):
Should there also be a dependency on bug #47865
https://savannah.gnu.org/bugs/?47865 that was mentioned earlier, which seems
to be trying to address the tolerance issues.
If matlab supports try/catch I came up with a test script the ranges over a
set of "error" values for real numbers and complex pairs to try to determine
how the tolerance argument is used in each case.
It also does a few tests to determine how the results are sorted and which
value of the complex pair is used when forcing the complex pairs to be equal.
I am attaching the script, called tcplxpair, and the results of running it
as:
octave --no-gui tcplxpair > output
I ran it with 4.0.3, and I also downloaded the current version of the
cplxpair.m file from mercurial (which seems to also be in octave 4.2) and got
the results from that.
If someone could try it with matlab and share the results, I'll try to analyze
the differences.
(file #39566, file #39567, file #39568)
_______________________________________________________
Additional Item Attachment:
File name: tcplxpair Size:3 KB
File name: results4.2 Size:3 KB
File name: results_4.0.3 Size:3 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50124>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, (continued)
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Mike Miller, 2017/01/26
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Bill Lash, 2017/01/26
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Rik, 2017/01/26
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Bill Lash, 2017/01/26
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Nicholas Jankowski, 2017/01/26
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Nicholas Jankowski, 2017/01/26
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Bill Lash, 2017/01/26
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Nicholas Jankowski, 2017/01/26
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Rik, 2017/01/27
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Rik, 2017/01/27
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs,
Bill Lash <=
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Nicholas Jankowski, 2017/01/27
- [Octave-bug-tracker] [bug #50124] cplxpair produces incorrect result for second column of complex pairs, Bill Lash, 2017/01/29