Unary minus (multiply discrete transfer function by -1)
function negate import Modelica_LinearSystems2.DiscreteTransferFunction; input DiscreteTransferFunction dtf; output DiscreteTransferFunction result(n = -dtf.n, d = dtf.d, Ts = dtf.Ts, method = dtf.method) "= -dtf"; end negate;