Review Article

Milestones in the Development of Iterative Solution Methods

Algorithm 1

Standard conjugate gradient algorithm.
Given      𝐱 ( 0 ) , 𝜀              initial guess and absolute or
                        relative stopping tolerance
Set       𝐱 ( 0 ) , 𝐠 = 𝐴 𝐱 𝐛 ,
        𝛿 0 = 𝐠 𝑇 𝐠
        𝐝 = 𝐠      initial search direction
Repeat       until convergence
        𝐡 = 𝐴 𝐝
        𝜏 = 𝛿 0 / ( 𝐝 𝑇 𝐡 )
        𝐱 = 𝐱 + 𝜏 𝐝     new approximation
        𝐠 = 𝐠 + 𝜏 𝐡     new (iterative) residual
        𝛿 1 = 𝐠 𝑇 𝐠
       if 𝛿 1 𝜀 then stop,  otherwise
        𝛽 = 𝛿 1 / 𝛿 0 , 𝛿 0 = 𝛿 1
        𝐝 = 𝐠 + 𝛽 𝐝      new search direction