E04XAA Example Program Results Find gradients and Hessian diagonals given function only ( i.e. MODE = 0 ). Function value is 2.1500E+02 Estimated gradient vector is 3.0600E+02 -1.4400E+02 -2.0000E+00 -3.1000E+02 Estimated Hessian matrix diagonal is 4.8200E+02 2.1200E+02 5.7995E+01 4.8999E+02 Find Hessian matrix given function and gradients ( i.e. MODE = 1 ). Function value is 2.1500E+02 Gradient vector is 3.0600E+02 -1.4400E+02 -2.0000E+00 -3.1000E+02 Estimated Hessian matrix (machine dependent) is 4.8200E+02 2.0000E+01 0.0000E+00 -4.8000E+02 2.0000E+01 2.1200E+02 -2.4000E+01 0.0000E+00 0.0000E+00 -2.4000E+01 5.8000E+01 -1.0000E+01 -4.8000E+02 0.0000E+00 -1.0000E+01 4.9000E+02 Find gradients and Hessian matrix given function only ( i.e. MODE = 2 ). Function value is 2.1500E+02 Estimated gradient vector is 3.0600E+02 -1.4400E+02 -2.0000E+00 -3.1000E+02 Estimated Hessian matrix (machine dependent) is 4.8200E+02 2.0001E+01 -6.6054E-03 -4.8000E+02 2.0001E+01 2.1201E+02 -2.3991E+01 6.6054E-03 -6.6054E-03 -2.3991E+01 5.7969E+01 -1.0001E+01 -4.8000E+02 6.6054E-03 -1.0001E+01 4.9000E+02