nag_matop_real_gen_matrix_fun_num (f01elc) Example Program Results
(User-supplied callback f, first invocation.)
f(A) = cos(2A)
1 2 3 4
1 -0.1704 -1.1597 -0.1878 -0.7307
2 -0.3950 -0.4410 0.7606 0.0655
3 -0.0950 -0.0717 0.0619 -0.4351
4 -0.1034 0.6424 -1.3964 0.1042