Research Article

A Flexible Global GCRO-DR Method for Shifted Linear Systems and General Coupled Matrix Equations

Algorithm 4

FGL-GMRES-DR.
Input:, . Choose , , and initial guesses
Output: such that
(1), ,
(2)Apply Algorithm 2 to generate , , such that
(3)Solve for . Set ,
(4)whiledo
(5)Compute the smallest eigenpairs of .
(6)
(7)
(8)
(9)
(10)Apply steps of Algorithm 2 with the starting rectangular matrix , such that with
(11) with
(12)
(13)
(14)endwhile