|
| From: | Ceral Paquet |
| Subject: | [Octave-bug-tracker] [bug #49232] Complex pinv giving incorrect results |
| Date: | Fri, 30 Sep 2016 16:33:52 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:2.1) Gecko/20100101 Goanna/20160924 PaleMoon/26.4.1 |
URL:
<http://savannah.gnu.org/bugs/?49232>
Summary: Complex pinv giving incorrect results
Project: GNU Octave
Submitted by: octavebugs
Submitted on: Fri 30 Sep 2016 04:33:50 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0-rc2
Operating System: GNU/Linux
_______________________________________________________
Details:
I just compiled 4.2-rc2 with enable-64 and OpenBLAS-0.2.16
./configure LD_LIBRARY_PATH=/opt/OpenBLAS/lib CPPFLAGS=-I/opt/OpenBLAS/include
LDFLAGS=-L/opt/OpenBLAS/lib --enable-64
It seems that complex svd is broken.
>> A=[1 2;3 4]+i*[5 6;7 8];
>> b=[1;1];
>> A\b
ans =
-0.50000 + 0.50000i
0.50000 - 0.50000i
>> pinv(A)*b
ans =
-0.50000 + 0.50000i
0.41415 - 0.57313i
Sorry I haven't had a chance to recompile with other setups but this was all
working under Octave 4.0.1... which I unfortunately deleted after 4.2
compiled.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49232>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |