.Modelica_LinearSystems2.Math.Matrices.Examples.care

Information

Solve a continuous algebraic Riccati equation

Interface

function care
  extends Modelica.Icons.Function;
  import Modelica_LinearSystems2.Math.Matrices;
  output Real X1[2, 2] = Matrices.care(A, B, R, Q, false);
  output Real X2[2, 2] = Matrices.care(A, B, R, Q, true);
  output Real X3[2, 2] = [9*(1 + sqrt(2)), 6*(1 + sqrt(2)); 6*(1 + sqrt(2)), 4*(1 + sqrt(2))];
end care;

Generated at 2025-01-06T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos