.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 2024-12-17T19:26:02Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos