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

NAG AD Library Introduction
Example description

D02PS_A1W_F C++ Header Example Program Results


  Calculation with tol = 0.0001

    t         y1        y2
 0.000     0.000     1.000
 0.393     0.383     0.924
 0.785     0.707     0.707
 1.178     0.924     0.383
 1.571     1.000    -0.000
 1.963     0.924    -0.383
 2.356     0.707    -0.707
 2.749     0.383    -0.924
 3.142    -0.000    -1.000
 3.534    -0.383    -0.924
 3.927    -0.707    -0.707
 4.320    -0.924    -0.383
 4.712    -1.000     0.000
 5.105    -0.924     0.383
 5.498    -0.707     0.707
 5.890    -0.383     0.924

 Cost of the integration in evaluations of f is 235

 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivatives: (solution w.r.t. function parameters)
 dy(t)/druser[0] =  2.52900e+00
 dy(t)/druser[1] =  2.91154e+00