def solve_lyapunov(a, q):
 return solve_sylvester(a, a.conj().transpose(), q)

def solve_lyapunov ( a , q ) : return solve_sylvester ( a , a . conj ( ) . transpose ( ) , q )
solves the continuous lyapunov equation :math:ax + xa^h = q .