.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 2024-05-18T18:16:21Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos