Linear Matrix Equation (LME) is the object provided by SLEPc for solving linear matrix equations such as Lyapunov or Sylvester where the solution has low rank.
ex32.c: Solves a Lypunov equation with the shifted 2-D Laplacian