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

NAG FL Interface Introduction
Example description

 F04QAF Example Program Results

 Output from sparse linear least squares solver.
 
 Least squares solution of  A*x = b
 
 The matrix A has     13 rows and     12 cols
 The damping parameter is  damp =      0.00E+00
 
 atol =     1.00E-05     conlim =      1.00E+05
 btol =     1.00E-04     itnlim =    100
 
 No. of iterations  =      2
 stopping condition =      2
 ( The least squares solution is good enough, given atol )
 
 
 Actual        norm(rbar), norm(x)            1.15E-02    4.33E+00
    Norm(transpose(Abar)*rbar)                9.16E-15
 Estimates of  norm(Abar), cond(Abar)         4.12E+00    2.45E+00

 Solution returned by F04QAF
     1.250    1.250    1.250    1.247    1.247
     1.250    1.250    1.247    1.247    1.250
     1.250    1.250

 Norm of the residual =     1.15E-02