On exit: if
has complex eigenvalues, nag_matop_real_gen_matrix_fun_std (f01ekc) will use complex arithmetic to compute the matrix function. The imaginary part is discarded at the end of the computation, because it will theoretically vanish.
imnorm contains the
-norm of the imaginary part, which should be used to check that the routine has given a reliable answer.
If has real eigenvalues, nag_matop_real_gen_matrix_fun_std (f01ekc) uses real arithmetic and .