function Sylvester(A: TMtx; B: TMtx; C: TMtx; ASign: TSign; AOp: TMtxOperation; BOp: TMtxOperation): Double;
Solves the Sylvester equation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | TMtx | source TMtx |
| 2 | B | TMtx | source TMtx |
| 3 | C | TMtx | source TMtx |
| 4 | ASign | TSign | |
| 5 | AOp | TMtxOperation | |
| 6 | BOp | TMtxOperation |
Returns: Double
Remarks:
Solves the Sylvester's equation
for real quasi-triangular or complex triangular matrices A and B. The solution (X) overwrites the C matrix. The AOp and BOp parameters indicate the TMtxOperation performed on A and B respectively. The TSign of the Sylvester equation is determined with the ASign parameter (siPlus for +, siMinus for -). The result of a Sylvester function is a scale factor a. The A and B matrices Matrix.Quadratic property must be true, otherwise an exception is raised.