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

NAG CL Interface Introduction
Example description

nag_lapackeig_dggsvd3 (f08vcc) Example Program Results

Number of infinite generalized singular values (k)
    1

Number of finite generalized singular values (l)
    2
Numerical rank of ( A^T B^T)^T   (k+l)
    3

Finite generalized singular values
   1.3151e+00    8.0185e-02

 Orthogonal matrix U
               1             2             3             4
 1   -1.3484e-01    5.2524e-01   -2.0924e-01    8.1373e-01
 2    6.7420e-01   -5.2213e-01   -3.8886e-01    3.4874e-01
 3    2.6968e-01    5.2757e-01   -6.5782e-01   -4.6499e-01
 4    6.7420e-01    4.1615e-01    6.1014e-01    1.5127e-15

 Orthogonal matrix V
               1             2
 1    3.5539e-01   -9.3472e-01
 2    9.3472e-01    3.5539e-01

 Orthogonal matrix Q
               1             2             3
 1   -8.3205e-01   -9.4633e-02   -5.4657e-01
 2    5.5470e-01   -1.4195e-01   -8.1985e-01
 3    0.0000e+00   -9.8534e-01    1.7060e-01

 Nonsingular upper triangular matrix R
               1             2             3
 1   -2.0569e+00   -9.0121e+00   -9.3705e+00
 2                 -1.0882e+01   -7.2688e+00
 3                               -6.0405e+00

Estimate of reciprocal condition number for R
    4.2e-02

Error estimate for the generalized singular values
    2.6e-15