This function constructs a polynomial from a real value.
import Modelica_LinearSystems2.Math.Polynomial; p1 = Polynomial(4); p1; // 4
function fromReal import Modelica; import Modelica_LinearSystems2.Math.Polynomial; input Real r "Value of Real variable"; output Polynomial p(redeclare Real c[1]); end fromReal;