octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9897] Implement the missing ordqz functio


From: Martin K
Subject: [Octave-patch-tracker] [patch #9897] Implement the missing ordqz function.
Date: Fri, 23 Oct 2020 08:40:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0

Follow-up Comment #13, patch #9897 (project octave):

@philipnienhuis

I only include the test from the matlab homepage since this one was claimed in
the early developments. I created an alternative 

A = toeplitz([1,2,3,4]);
[B, A] = qr(A); B = B';
[AA,BB,Q,Z] = qz(A,B);
[AAS,BBS,QS,ZS] = ordqz(AA,BB,Q,Z,'lhp');
E2 = ordeig(AAS,BBS);
ECOMP = [ -3.414213562373092e+00 -1.099019513592784e+00    
-5.857864376269046e-01 9.099019513592784e+00];
assert(norm(ECOMP - E2, 'Inf') < 1e-8);

It should check the same path in the code. 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9897>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]