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

NAG AD Library Introduction
Example description

 F01FC_A1W_F Example Program Results

 Exp(A)
             1          2          3          4
 1   -157.9003  -194.6526  -186.5627  -155.7669
     -754.3717  -555.0507  -475.4533  -520.1876
 
 2   -206.8899  -225.4985  -212.4414  -186.5627
     -694.7443  -505.3938  -431.0611  -475.4533
 
 3   -208.7476  -238.4962  -225.4985  -194.6526
     -808.2090  -590.8045  -505.3938  -555.0507
 
 4   -133.3958  -208.7476  -206.8899  -157.9003
    -1085.5496  -808.2090  -694.7443  -754.3717

  Derivatives calculated: First order adjoints
  Computational mode    : algorithmic

  Derivatives of diagonal of exp(A) w.r.t. diagonal of A

    d(expA(i,i))/dimag(a(j,j))
             1          2          3          4
 1    298.4057   135.3022   135.3022   185.3615
      -94.2517   -31.0185   -31.0185    -1.6117
 
 2    135.3022   150.8168    83.9726   135.3022
      -31.0185  -128.1803   -35.2812   -31.0185
 
 3    135.3022    83.9726   150.8168   135.3022
      -31.0185   -35.2812  -128.1803   -31.0185
 
 4    185.3615   135.3022   135.3022   298.4057
       -1.6117   -31.0185   -31.0185   -94.2517