[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65424] svds(A) returns singular values in rev
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #65424] svds(A) returns singular values in reversed order for complex A |
Date: |
Thu, 7 Mar 2024 16:18:15 -0500 (EST) |
Update of bug #65424 (group octave):
Item Group: Incorrect Result => Matlab Compatibility
Status: None => Confirmed
Originator Name: Angelika => Angelika i
_______________________________________________________
Follow-up Comment #1:
Confirmed. Changing Item Group to "Matlab Compatibility".
Additional information, svds() can return just the singular values, rather
than the full decomposition. When only one output is requested, Octave does
return a list sorted in descending order.
Secondly, not all complex matrices are sorted in ascending order. The example
below (generated with random integers), works.
x = [
35 19 41 29
25 4 30 50
55 49 5 37
59 47 22 9
];
y = [
63 53 1 33
13 38 24 17
20 54 32 57
25 17 60 59
];
z = complex (x,y);
[U,S,V] = svds (z)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65424>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/