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

NAG FL Interface Introduction
Example description

 F11GDF Example Program Results

 Solve a system of linear equations using the conjugate gradient method

 Monitoring at iteration no.   2
 residual norm:     1.9938E+00
  Solution vector  Residual vector
       9.6320E-01      -2.2960E-01
       1.9934E+00       2.2254E-01
       3.0583E+00       9.5827E-02
       4.1453E+00      -2.5155E-01
       4.8289E+00      -1.7160E-01
       5.6630E+00       6.7533E-01
       7.1062E+00      -3.4737E-01

 Monitoring at iteration no.   4
 residual norm:     6.6574E-03
  Solution vector  Residual vector
       9.9940E-01      -1.0551E-03
       2.0011E+00      -2.4675E-03
       3.0008E+00      -1.7116E-05
       3.9996E+00       4.4929E-05
       4.9991E+00       2.1359E-03
       5.9993E+00      -8.7482E-04
       7.0007E+00       6.2045E-05

 Final Results
 Number of iterations for convergence:       5
 Residual norm:                               2.0428E-14
 Right-hand side of termination criterion:    3.9200E-04
 1-norm of matrix A:                          1.0000E+01
 Largest singular value of A_bar:             1.3596E+00
  Solution vector  Residual vector
       1.0000E+00       0.0000E+00
       2.0000E+00       0.0000E+00
       3.0000E+00      -2.6645E-15
       4.0000E+00      -3.5527E-15
       5.0000E+00      -5.3291E-15
       6.0000E+00       1.7764E-15
       7.0000E+00       7.1054E-15