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

"Dmitri A. Sergatskov" <[email protected]> Wed, 24 Jun 2026 06:02:28 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
--===============7891521048075261403==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

UGxlYXNlIHVzZSB0aGUgYnVnIHRyYWNrZXIgdG8gcG9zdCB1cGRhdGVzIHRvIGEgYnVnIHJlcG9y
dC4gIFRoZSBtYWlsaW5nIGxpc3QgaXMgaW50ZW5kZWQgYXMgYSByZWFkLW9ubHkgbm90aWZpY2F0
aW9uIHN0cmVhbS4gIEluZm8gcG9zdGVkIHRvIHRoaXMgbWFpbGluZyBsaXN0IGFkZHJlc3Mgd29u
J3QgYXBwZWFyIGluIHRoZSB0cmFja2VyIGRhdGFiYXNlIHdoZXJlIGl0IGlzIG1vc3QgdXNlZnVs
LgoK

--===============7891521048075261403==
Content-Type: MULTIPART/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; BOUNDARY="8323329-424238335-1782295348=:999981"
Content-Disposition: inline

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

Follow-up Comment #21, bug #68434 (group octave):=0A=0AI just posted patche=
s and files at =0A=0Ahttps://savannah.gnu.org/bugs/?48807=0A=0A(they addres=
s some variety of matlab compatibility issues)=0A=0AThey are developed on o=
ctave 12, but I think they would just work in older=0Aversions of Octave. =
=0A=0APlease let us know if those work for you (you can post here or there)=
. =0A=0ANote that the identity S^2+C^2 =3D I^2 would not work in your case.=
 =0A=0A=0A=0Aoctave:8> C'*C + S'*S=0Aans =3D=0A=0A   0   0   0   0   0   0 =
  0   0=0A   0   0   0   0   0   0   0   0=0A   0   0   0   0   0   0   0  =
 0=0A   0   0   0   0   0   0   0   0=0A   0   0   0   0   0   0   0   0=0A=
   0   0   0   0   0   0   0   0=0A   0   0   0   0   0   0   1   0=0A   0 =
  0   0   0   0   0   0   1=0A=0Aoctave:9> eye(columns(A))=0Aans =3D=0A=0AD=
iagonal Matrix=0A=0A   1   0   0   0   0   0   0   0=0A   0   1   0   0   0=
   0   0   0=0A   0   0   1   0   0   0   0   0=0A   0   0   0   1   0   0 =
  0   0=0A   0   0   0   0   1   0   0   0=0A   0   0   0   0   0   1   0  =
 0=0A   0   0   0   0   0   0   1   0=0A   0   0   0   0   0   0   0   1=0A=
=0A=0A=0ADo you know what Matlab does in your case?=0A=0ADmitri.=0A-- =0A=
=0A=0A=0A    _______________________________________________________=0A=0AR=
eply to this item at:=0A=0A  <https://savannah.gnu.org/bugs/?68434>=0A=0A__=
_____________________________________________=0AMessage sent via Savannah=
=0Ahttps://savannah.gnu.org/=0A
--8323329-424238335-1782295348=:999981
Content-Type: APPLICATION/pgp-signature; name=signature.asc

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCajurNAAKCRCqLAuaBUf3
TvvxAP9CCGQimXX+I2jZ24l5IXJjcZCG2TPqT6dw5KbhYZdRswD8DtLTt54p8EA/
LXwoDVeTQVIf8zcJ3K5Mv7MizguXiA4=
=We/C
-----END PGP SIGNATURE-----

--8323329-424238335-1782295348=:999981--



--===============7891521048075261403==--