.Modelica_LinearSystems2.Math.Matrices.dlyapunov

Information

Syntax

X = Matrices.dlaypunov(A, C);
   or
X = Matrices.dlaypunov(A, C, eps);

Description

Function laypunov computes the solution X of the continuous-time Lyapunov equation

XA + A'*X = C

using the Schur method for Lyapunov equations proposed by Bartels and Stewart [1].

References

 [1] Bartels, R.H. and Stewart G.W. (1972):
Algorithm 432: Solution of the matrix equation AX + XB = C. Comm. ACM., Vol. 15, pp. 820-826.
 

Interface

function dlyapunov
  extends Modelica.Icons.Function;
  import MatricesMSL = Modelica.Math.Matrices;
  input Real A[:, size(A, 1)];
  input Real C[size(A, 1), size(A, 2)];
  input Real eps = MatricesMSL.norm(A, 1)*10*Modelica.Constants.eps;
  output Real X[size(A, 1), size(A, 2)] "solution of the Lyapunov equation";
end dlyapunov;

Revisions

Date Author Comment
2010-05-31 Marcus Baur, DLR-RM Realization

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos