Unary minus (multiply transfer function by -1)
function negate import Modelica_LinearSystems2.TransferFunction; input TransferFunction tf; output TransferFunction result(n = -tf.n, d = tf.d) "= -tf"; end negate;