for    do
   
   
   
   
end for
Algorithm 1: Conjugate residuals method (GCR).