[bug #48807] gsvd function needs matlab compatible interface
Nir Krakauer <[email protected]> Wed, 24 Jun 2026 09:10:24 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
--===============3684170755939502173==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
UGxlYXNlIHVzZSB0aGUgYnVnIHRyYWNrZXIgdG8gcG9zdCB1cGRhdGVzIHRvIGEgYnVnIHJlcG9y
dC4gIFRoZSBtYWlsaW5nIGxpc3QgaXMgaW50ZW5kZWQgYXMgYSByZWFkLW9ubHkgbm90aWZpY2F0
aW9uIHN0cmVhbS4gIEluZm8gcG9zdGVkIHRvIHRoaXMgbWFpbGluZyBsaXN0IGFkZHJlc3Mgd29u
J3QgYXBwZWFyIGluIHRoZSB0cmFja2VyIGRhdGFiYXNlIHdoZXJlIGl0IGlzIG1vc3QgdXNlZnVs
LgoK
--===============3684170755939502173==
Content-Type: MULTIPART/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; BOUNDARY="8323329-1102520059-1782306624=:1448169"
Content-Disposition: inline
--8323329-1102520059-1782306624=:1448169
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
Follow-up Comment #31, bug #48807 (group octave):=0A=0AIn Matlab 8.4.0.1504=
21 (R2014b):=0A=0A>> M =3D 4; P =3D 2; N =3D 8;=0A>> A =3D [1:8; 1:8; 1:8; =
1:8];=0A>> B =3D [8:-1:1; 8:-1:1];=0A>> [U, V, X, C, S] =3D gsvd (A, B)=0A=
=0AU =3D=0A=0A 1.0000 0.0000 -0.0000 -0.0000=0A -0.0000 -0.48=
50 -0.3061 0.8192=0A 0.0000 -0.8667 0.2934 -0.4034=0A -0.0=
000 -0.1168 -0.9057 -0.4076=0A=0A=0AV =3D=0A=0A 0.7071 -0.7071=
=0A 0.7071 0.7071=0A=0A=0AX =3D=0A=0A 11.3137 -0.0000 1.0000 =
-1.4685 -0.9184 0.0082=0A 9.8995 -0.0000 2.0000 -2.9370 -=
1.8368 0.0163=0A 8.4853 0.0000 3.0000 -4.4054 -2.7553 0.=
0245=0A 7.0711 0.0000 4.0000 -5.8739 -3.6737 0.0326=0A 5=
.6569 0.0000 5.0000 -7.3424 -4.5921 0.0408=0A 4.2426 0.0=
000 6.0000 -8.8109 -5.5105 0.0490=0A 2.8284 0.0000 7.000=
0 -10.2794 -6.4289 0.0571=0A 1.4142 0.0000 8.0000 -11.7479 =
-7.3474 0.0653=0A=0A=0AC =3D=0A=0A 0 0 1.0000 =
0 0 0=0A 0 0 0 1.0000 =
0 0=0A 0 0 0 0 1.0000 0=
=0A 0 0 0 0 0 1.0000=0A=0A=0AS =
=3D=0A=0A 1 0 0 0 0 0=0A 0 1 0 0 =
0 0=0A=0A>> C'*C + S'*S=0A=0Aans =3D=0A=0A 1.0000 0 =
0 0 0 0=0A 0 1.0000 0 =
0 0 0=0A 0 0 1.0000 0 0 =
0=0A 0 0 0 1.0000 0 0=0A=
0 0 0 0 1.0000 0=0A 0 =
0 0 0 0 1.0000=0A=0A=0A ______________=
_________________________________________=0A=0AReply to this item at:=0A=0A=
<https://savannah.gnu.org/bugs/?48807>=0A=0A_____________________________=
__________________=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org/=
=0A
--8323329-1102520059-1782306624=:1448169
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCajvXQAAKCRCqLAuaBUf3
TlOAAP92NzOQReGV9h1/F8o3fktVYve5t2P9P+ZBhCdvuMI/MgD+NbMOcilhNG2G
q+y8FseVszW6sWBnagJX2SA3oVjzBwM=
=Umv0
-----END PGP SIGNATURE-----
--8323329-1102520059-1782306624=:1448169--
--===============3684170755939502173==--