nag_matop_real_gen_matrix_cond_num (f01jbc) Example Program Results

 A
            1          2          3          4
 1     -1.0000    -1.0000    -2.0000     1.0000
 2      0.0000     1.0000    -1.0000     0.0000
 3     -1.0000    -2.0000     1.0000    -1.0000
 4      0.0000    -1.0000     0.0000    -1.0000
(User-supplied callback f, first invocation.)

f(A) = cos(2A)
Estimated absolute condition number is:    4.10
Estimated relative condition number is:   14.48