Closed
Description
Description
Given a 2-by-1 block matrix Q
with orthonormal columns, SORCSD2BY1 computes matrices U1
, U2
, Σ1
, Σ2
, and V
such that
|Q11| |U1 | |Σ1|
| | = | | | | V^T
|Q21| | U2| |Σ2|
In commit 4174d8d, SORCSD2BY1 computes an inaccurate result with a backward error of ||Q - U Σ V^T|| ≈ 10^-5
when it should be at most ε ||Q|| ≈ 10^-7
. Input with m = 3
, n = 2
, p = 2
(Q11 ∈ ℝ(p, n), Q21 ∈ ℝ(m - p, n)):
[-2.0392263e-01 -9.7898704e-01]
Q = [ 1.1427624e-08 9.2925374e-09]
[ 9.7898704e-01 -2.0392257e-01]
Checklist
- I've included a minimal example to reproduce the issue
- I'd be willing to make a PR to solve this issue
This issue was found while working on #406.