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

NAG AD Library Introduction
Example description

 E01DA_A1W_F Example Program Results
 
  Spline fitted at point x =   1.40 and y =   0.50
  Value of fitted spline   =   2.460
 
  Derivatives calculated: First order adjoints
  Computational mode    : algorithmic
 
  Derivatives of fitted value w.r.t. data points:
 
  dfit/dx
             1          2          3          4          5          6          7
 1     -0.0760     0.2823    -1.4493    -2.3275     0.8423    -0.0833     0.0116
 
  dfit/dy
          1       2       3       4       5       6
 1  -0.0787  0.1866 -0.7892 -0.4462  0.1811 -0.0537
 
  Derivatives of fitted value w.r.t. f-values:
 
  dfit/df
               1            2            3            4            5
 1    2.9934E-03  -1.0103E-02   4.3893E-02   6.1089E-02  -2.0726E-02
 2   -7.0955E-03   2.3947E-02  -1.0404E-01  -1.4480E-01   4.9129E-02
 3    3.0001E-02  -1.0125E-01   4.3990E-01   6.1224E-01  -2.0772E-01
 4    1.6963E-02  -5.7249E-02   2.4873E-01   3.4617E-01  -1.1745E-01
 5   -6.8849E-03   2.3236E-02  -1.0095E-01  -1.4050E-01   4.7670E-02
 6    2.0400E-03  -6.8849E-03   2.9912E-02   4.1631E-02  -1.4125E-02
 
               6            7
 1    1.8221E-03  -2.2776E-04
 2   -4.3190E-03   5.3988E-04
 3    1.8261E-02  -2.2827E-03
 4    1.0325E-02  -1.2906E-03
 5   -4.1908E-03   5.2385E-04
 6    1.2417E-03  -1.5521E-04