NAG Library Manual, Mark 30
Interfaces:  FL   CL   CPP   AD 

NAG CL Interface Introduction
Example description

nag_lapackeig_zgges (f08xnc) Example Program Results

 Matrix A
                  1                2                3                4
 1  (-21.10,-22.50)  ( 53.50,-50.50)  (-34.50,127.50)  (  7.50,  0.50)
 2  ( -0.46, -7.78)  ( -3.50,-37.50)  (-15.50, 58.50)  (-10.50, -1.50)
 3  (  4.30, -5.50)  ( 39.70,-17.10)  (-68.50, 12.50)  ( -7.50, -3.50)
 4  (  5.50,  4.40)  ( 14.40, 43.30)  (-32.50,-46.00)  (-19.00,-32.50)

 Matrix B
                  1                2                3                4
 1  (  1.00, -5.00)  (  1.60,  1.20)  ( -3.00,  0.00)  (  0.00, -1.00)
 2  (  0.80, -0.60)  (  3.00, -5.00)  ( -4.00,  3.00)  ( -2.40, -3.20)
 3  (  1.00,  0.00)  (  2.40,  1.80)  ( -4.00, -5.00)  (  0.00, -3.00)
 4  (  0.00,  1.00)  ( -1.80,  2.40)  (  0.00, -4.00)  (  4.00, -5.00)

Generalized eigenvalues are:
  1 (   3.0000e+00,   -9.0000e+00)
  2 (   2.0000e+00,   -5.0000e+00)
  3 (   3.0000e+00,   -1.0000e+00)
  4 (   4.0000e+00,   -5.0000e+00)