Navigation

Operators and Keywords

Function List:

C++ API

: X = sylvester (A, B, C)

Solve the Sylvester equation

A X + X B = C

using standard LAPACK subroutines.

For example:

sylvester ([1, 2; 3, 4], [5, 6; 7, 8], [9, 10; 11, 12])
  ⇒ [ 0.50000, 0.66667; 0.66667, 0.50000 ]

Package: octave