Schmitt-Grohe Uribe (2005)

See [The generalized Schur (QZ))
Now in

infl = R*betta*my_lambda;
the R is not defined.