subroutine shrslv(a,b,c,m,n,na,nb,nc,eps,cond,rmax,fail) c c!purpose c shrslv is a fortran iv subroutine to solve the real matrix c equation ax + xb = c, where a is in lower real schur form c and b is in upper real schur form, c c!calling sequence c c subroutine shrslv(a,b,c,m,n,na,nb,nc,eps,cond,rmax,fail) c a a doubly subscripted array containg the matrix a in c lower schur form c c b a doubly subscripted array containing tbe matrix b c in upper real schur form c c c a doubly subscripted array containing the matrix c. c c m the order of the matrix a c c n the order of the matrix b c c na the first dimension of the array a c c nb the first dimension of the array b c c nc the first dimension of the array c c c eps tolerance on a(k,k)+b(l,l) c if |a(k,k)+b(l,l)|