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

NAG CL Interface Introduction
Example description

nag_matop_real_gen_matrix_fun_usd (f01emc) Example Program Results

(User-supplied callback f, first invocation.)
 f(A)
            1          2          3          4
 1    -12.1880     0.0000    -3.4747     8.3697
 2    -13.7274    54.5982   -23.9801    82.8593
 3     -9.7900     0.0000   -25.4527    26.5294
 4    -18.1597     0.0000   -34.8991    49.2404