sylv(G)

NAME
sylv - Sylvester equation.

CALLING SEQUENCE
sylv(A,B,C,flag)

PARAMETERS

A,B,C
    : three real matrices of appropriate dimensions.

flag
    character string ('c' or 'd')

DESCRIPTION
computes X, solution of the "continuous time" Sylvester equation
A*X+X*B=C
computes X, solution of the "discrete time" Sylvester equation
A*X*B-X=C

SEE ALSO
lyap.