.Modelica_LinearSystems2.DiscreteZerosAndPoles.Internal.numberOfRealZeros2

Calculate number of real zeros

Interface

function numberOfRealZeros2
  import Modelica_LinearSystems2.Internal;
  import Modelica_LinearSystems2.Math.Polynomial;
  input Modelica_LinearSystems2.DiscreteTransferFunction dtf "DiscreteTransferFunction";
  output Integer result = Internal.numberOfRealZeros(Polynomial.roots(Polynomial(dtf.n)));
end numberOfRealZeros2;

Generated at 2025-04-02T18:24:35Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos