.Modelica_LinearSystems2.Math.Polynomial.'constructor'.fromReal

Information

This function constructs a polynomial from a real value.

Example:

import Modelica_LinearSystems2.Math.Polynomial;

p1 = Polynomial(4);
p1;
// 4

Interface

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;

Generated at 2025-02-21T19:24:40Z by OpenModelicaOpenModelica 1.24.4 using GenerateDoc.mos