sylvester
sylvester(A,B,C)
Solves the real-valued Sylvester equation AX+XB=C for X
Try it yourself:
$1 | sylvester([[-1, -2], [1, 1]], [[-2, 1], [-1, 2]], [[-3, 2], [3, 0]])
| |
$2 | A = [[-1, -2], [1, 1]]; B = [[2, -1], [1, -2]]; C = [[-3, 2], [3, 0]]
| |
$3 | sylvester(A, B, C)
|