.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-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos