Generate a TransferFunction data record from a numerator and denominator polynomial
function fromPolynomials import Modelica_LinearSystems2.TransferFunction; import Modelica_LinearSystems2.Math.Polynomial; input Polynomial n "Numerator polynomial"; input Polynomial d "Denominator polynomial"; input String uName = "" "input name"; input String yName = "" "output name"; output TransferFunction tf(n = n.c, d = d.c, uName = uName, yName = yName); end fromPolynomials;