double Sylvester(TMtx *A, TMtx *B, TMtx *C, TSign ASign = TSign::siPlus, TMtxOperation AOp = TMtxOperation::opNone, TMtxOperation BOp = TMtxOperation::opNone) const;
Solves the Sylvester equation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | A | TMtx * | |
| 2 | B | TMtx * | |
| 3 | C | TMtx * | |
| 4 | ASign = TSign::siPlus | TSign | |
| 5 | AOp = TMtxOperation::opNone | TMtxOperation | |
| 6 | BOp = TMtxOperation::opNone | TMtxOperation |
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.
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler