.IBPSA.Utilities.Math.Functions.polynomial

Information

This function computes a polynomial of arbitrary order. The polynomial has the form

y = a1 + a2 x + a3 x2 + ...

Interface

function polynomial
  extends Modelica.Icons.Function;
  input Real x "Independent variable";
  input Real a[:] "Coefficients";
  output Real y "Result";
end polynomial;

Revisions


Generated at 2024-12-27T19:26:12Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos