.Modelica_LinearSystems2.ZerosAndPoles.Internal.firstOrderToString

Information

Transform vector of coefficients of first order polynomials to a string representation

Interface

function firstOrderToString
  import Modelica_LinearSystems2.Math;
  input Real c[:] = fill(0.0, 0) "Coefficients of first order polynomials: polynom(p) = p + c[i]";
  input Integer significantDigits = 6 "Number of significant digits that are shown";
  input String name = "p" "Independent variable name used for printing";
  input Boolean normalized = false "= true, the polynomials in the string are represented as p/c[i] + 1, provided c[i]<>0";
  output String s = "";
  output Real gain = 1.0 "If normalized=true, the product(c[i]) (for i, where c[i]<>0), otherwise gain=1.0";
end firstOrderToString;

Generated at 2024-10-14T18:25:21Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos