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

NAG AD Library Introduction
Example description

E02DE_A1W_F C++ Header Example Program Results


 Interpolant evaluated at x = 1.4 and y = 0.5
 Value of interpolant        = 2.46

 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivatives of fitted value w.r.t. data points:


      d/dx
            1          2          3          4          5          6          7
 1     -0.0760     0.2823    -1.4493    -2.3275     0.8423    -0.0833     0.0116

      d/dy
         1       2       3       4       5       6
 1  -0.0787  0.1866 -0.7892 -0.4462  0.1811 -0.0537

      d/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