[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60274] GSVD reordering (matlab compatibility)
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #60274] GSVD reordering (matlab compatibility) |
Date: |
Tue, 16 Nov 2021 14:05:06 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Update of bug #60274 (project octave):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
looking specifically at Matlab's Example 1:
A = reshape(1:15,5,3);
B = magic(3);
...
The generalized singular values are the ratios of the diagonal elements of C
and S.
sigma = gsvd(A,B)
sigma =
0.0000
0.3325
5.0123
These values are a reordering of the ordinary singular values
svd(A/B)
ans =
5.0123
0.3325
0.0000
in Octave 6.4.0:
>> sigma = gsvd(A,B)
sigma =
5.0123e+00
3.3252e-01
2.5093e-16
>> sigma = svd(A/B)
sigma =
5.0123e+00
3.3252e-01
6.6963e-17
Noting that the other gsvd outputs differ quite a bit from matlab as i believe
bug #60273 is addressing, and this did not appear to be mentioned there.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60274>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #60274] GSVD reordering (matlab compatibility),
Nicholas Jankowski <=