LinearAlgebra
LyapunovSolve
solve the continuous Lyapunov equation
Calling Sequence
Parameters
Options
Description
Examples
LyapunovSolve( A, C )
LyapunovSolve( A, C, isgn )
LyapunovSolve( A, C, isgn, outopts, tranA, schurA )
A
-
Matrix; input matrix of dimension m x m
C
Matrix; second input matrix of dimension m x m
isgn
(optional) {-1,1}; indicates the sign of the term X . A (second term)
outopts
(optional); constructor options for Matrix output
tranA
(optional) `transpose[A]` = {truefalse,identical(transpose,hermitiantranspose)} ; specifies operation on A prior to solving
schurA
(optional) `Schur[A]` = truefalse; specifies whether A is in Schur form
The isgn argument designates the sign of the second term of the left hand side of the equation. The default value of this argument is 1.
The constructor options provide additional information (readonly, shape, storage, order, datatype, and attributes) to the Matrix constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list. If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order).
The tranA argument specifies whether the first Matrix argument A should be transposed prior to solving. The default value of this argument is false.
The schurA argument specifies whether to omit reduction of the first Matrix argument to Schur form. This avoids unnecessary computation in the case that the first Matrix argument is already in Schur form. The default value of this argument is false.
The LyapunovSolve command computes the solution to the continuous Lyapunov matrix equation A·X+isgn⁢X·A* =scale⁢C
The returned solution is an expression sequence consisting of the Matrix X followed by the scalar scale.
This routine operates in the floating-point domain. Hence, the entries in the Matrix arguments must necessarily be of type complex(numeric).
The continuous Lyapunov equation is a special case of the Sylvester equation.
with⁡LinearAlgebra:
A,Q≔`$`⁡IdentityMatrix⁡2,2
A,Q≔1001,1001
X,k≔LyapunovSolve⁡A,Q
X,k≔0.5000000000000000.0.0.500000000000000,1.
A·X+X·A%T=k·Q
1.0.0.1.=1.0.0.1.
X,k≔LyapunovSolve⁡A,Q,−1
X,k≔4.50359962737050×10150.0.4.50359962737050×1015,1.
See Also
LinearAlgebra[SchurForm]
LinearAlgebra[SylvesterSolve]
Download Help Document