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

NAG CL Interface Introduction
Example description

nag_lapackeig_zggsvd (f08vnc) Example Program Results

Number of infinite generalized singular values (k)
    2
Number of finite generalized singular values (l)
    2
Numerical rank of ( A^H B^H)^H   (k+l)
    4

Finite generalized singular values
   2.0720e+00    1.1058e+00

 Unitary matrix U
                                1                              2
 1  (  -1.3038e-02,  -3.2595e-01)  (  -1.4039e-01,  -2.6167e-01)
 2  (   4.2764e-01,  -6.2582e-01)  (   8.6298e-02,  -3.8174e-02)
 3  (  -3.2595e-01,   1.6428e-01)  (   3.8163e-01,  -1.8219e-01)
 4  (   1.5906e-01,  -5.2151e-03)  (  -2.8207e-01,   1.9732e-01)
 5  (  -1.7210e-01,  -1.3038e-02)  (  -5.0942e-01,  -5.0319e-01)
 6  (  -2.6336e-01,  -2.4772e-01)  (  -1.0861e-01,   2.8474e-01)

                                3                              4
 1  (   2.5177e-01,  -7.9789e-01)  (  -5.0956e-02,  -2.1750e-01)
 2  (  -3.2188e-01,   1.6112e-01)  (   1.1979e-01,   1.6319e-01)
 3  (   1.3231e-01,  -1.4565e-02)  (  -5.0671e-01,   1.8615e-01)
 4  (   2.1598e-01,   1.8813e-01)  (  -4.0163e-01,   2.6787e-01)
 5  (   3.6488e-02,   2.0316e-01)  (   1.9271e-01,   1.5574e-01)
 6  (   1.0906e-01,  -1.2712e-01)  (  -8.8159e-02,   5.6169e-01)

                                5                              6
 1  (  -4.5947e-02,   1.4052e-04)  (  -5.2773e-02,  -2.2492e-01)
 2  (  -8.0311e-02,  -4.3605e-01)  (  -3.8117e-02,  -2.1907e-01)
 3  (   5.9714e-02,  -5.8974e-01)  (  -1.3850e-01,  -9.0941e-02)
 4  (  -4.6443e-02,   3.0864e-01)  (  -3.7354e-01,  -5.5148e-01)
 5  (   5.7843e-01,  -1.2439e-01)  (  -1.8815e-02,  -5.5686e-02)
 6  (   1.5763e-02,   4.7130e-02)  (   6.5007e-01,   4.9173e-03)

 Unitary matrix V
                                1                              2
 1  (   9.8930e-01,   1.0471e-19)  (  -1.1461e-01,   9.0250e-02)
 2  (  -1.1461e-01,  -9.0250e-02)  (  -9.8930e-01,   1.0471e-19)

 Unitary matrix Q
                                1                              2
 1  (   7.0711e-01,   0.0000e+00)  (   0.0000e+00,   0.0000e+00)
 2  (   0.0000e+00,   0.0000e+00)  (   7.0711e-01,   0.0000e+00)
 3  (   7.0711e-01,   0.0000e+00)  (   0.0000e+00,   0.0000e+00)
 4  (   0.0000e+00,   0.0000e+00)  (   7.0711e-01,   0.0000e+00)

                                3                              4
 1  (   6.9954e-01,  -1.1784e-18)  (   8.1044e-02,  -6.3817e-02)
 2  (  -8.1044e-02,  -6.3817e-02)  (   6.9954e-01,   1.1784e-18)
 3  (  -6.9954e-01,   1.1784e-18)  (  -8.1044e-02,   6.3817e-02)
 4  (   8.1044e-02,   6.3817e-02)  (  -6.9954e-01,  -1.1784e-18)

 Nonsingular upper triangular matrix R
                                1                              2
 1  (  -2.7118e+00,   0.0000e+00)  (  -1.4390e+00,  -1.0315e+00)
 2                                 (  -1.8583e+00,   0.0000e+00)
 3
 4

                                3                              4
 1  (  -7.6930e-02,   1.3613e+00)  (  -2.8137e-01,  -3.2425e-02)
 2  (  -1.0760e+00,   3.1016e-02)  (   1.3292e+00,   3.6772e-01)
 3  (   3.2537e+00,   0.0000e+00)  (  -6.3858e-17,   3.4216e-33)
 4                                 (  -2.1084e+00,   0.0000e+00)

Estimate of reciprocal condition number for R
    1.3e-01

Error estimate for the generalized singular values
    8.3e-16