nag::ad::c05ay Vector Tangent over Vector Adjoint Example Program Results Derivatives calculated: Second order adjoints Computational mode : algorithmic Solution: x = 3.517338158057e-01 Second derivative of solution x w.r.t. parameter r: d2x/dr2(x)[0][0] = 1.006546840241e-01 d2x/dr2(x)[1][0] = 2.013093680482e-01 d2x/dr2(x)[2][0] = 2.013093680482e-01 d2x/dr2(x)[3][0] = 2.013093680482e-01 d2x/dr2(x)[0][1] = 2.013093680482e-01 d2x/dr2(x)[1][1] = 4.026187360964e-01 d2x/dr2(x)[2][1] = 4.026187360964e-01 d2x/dr2(x)[3][1] = 4.026187360964e-01 d2x/dr2(x)[0][2] = 2.013093680482e-01 d2x/dr2(x)[1][2] = 4.026187360964e-01 d2x/dr2(x)[2][2] = 4.026187360964e-01 d2x/dr2(x)[3][2] = 4.026187360964e-01