[bug #68434] Function gsvd crashes when matrices have 10 or more columns

Ian Proudler <[email protected]> Sun, 5 Jul 2026 04:07:06 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
--===============1207149735726806232==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

UGxlYXNlIHVzZSB0aGUgYnVnIHRyYWNrZXIgdG8gcG9zdCB1cGRhdGVzIHRvIGEgYnVnIHJlcG9y
dC4gIFRoZSBtYWlsaW5nIGxpc3QgaXMgaW50ZW5kZWQgYXMgYSByZWFkLW9ubHkgbm90aWZpY2F0
aW9uIHN0cmVhbS4gIEluZm8gcG9zdGVkIHRvIHRoaXMgbWFpbGluZyBsaXN0IGFkZHJlc3Mgd29u
J3QgYXBwZWFyIGluIHRoZSB0cmFja2VyIGRhdGFiYXNlIHdoZXJlIGl0IGlzIG1vc3QgdXNlZnVs
LgoK

--===============1207149735726806232==
Content-Type: MULTIPART/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; BOUNDARY="8323329-424238335-1783238826=:3157194"
Content-Disposition: inline

--8323329-424238335-1783238826=:3157194
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

Follow-up Comment #25, bug #68434 (group octave):=0A=0AFor what it's worth:=
=0A=0AI've rebuilt Octave using the new files.=0A=0AI generated 20,000 rand=
om matrices, both real and complex, where=0A  size(A) =3D (N,M)=0A  size(B)=
 =3D (P,M)=0Aand N,P,M were each chosen randomly between 2 and 100.=0A=0AFo=
r each matrix pair, I calculated=0A   [U, V, X, C, S] =3D gsvd(A, B)=0Aand =
checked that=0A  norm(A - U*C*X') < 1e-10=0A  norm(B - V*S*X' < 1e-10=0A  n=
orm(C'*C + S'*S - eye(R)) < 1e-10=0Awhere R =3D rank([A;B]).=0A=0AAll the m=
atrices passed the tests.=0A=0A=0A=0A=0A=0A    ____________________________=
___________________________=0A=0AReply to this item at:=0A=0A  <https://sav=
annah.gnu.org/bugs/?68434>=0A=0A___________________________________________=
____=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-424238335-1783238826=:3157194
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCakoQqgAKCRCqLAuaBUf3
Tqr/AP4jC5sP5dPI+EAZT0ZJwhoUrYH3+66YGm9pbJShZU5/9AD+PO73pBCG3F6p
KT4UNcYOt0panUD0FA4X+DudFbDwkwM=
=B7qh
-----END PGP SIGNATURE-----

--8323329-424238335-1783238826=:3157194--



--===============1207149735726806232==--