.Modelica_LinearSystems2.DiscreteStateSpace.'-'.negate

Information

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

Interface

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

Generated at 2024-04-18T18:15:58Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos