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

Generate a Polynomial data record from a real value

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-04-03T18:24:42Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos