.Modelica_LinearSystems2.Internal.StateSpace2.'-'.negate

Information

Unary minus (state space system where the output is multiplied by a gain of -1)

Interface

function negate
  import Modelica;
  import StateSpace = Modelica_LinearSystems2.Internal.StateSpace2;
  input StateSpace ss;
  output StateSpace result(redeclare Real A[size(ss.A, 1), size(ss.A, 2)], redeclare Real B[size(ss.B, 1), size(ss.B, 2)], redeclare Real C[size(ss.C, 1), size(ss.C, 2)], redeclare Real D[size(ss.D, 1), size(ss.D, 2)]) "= -ss";
end negate;

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