.Modelica_LinearSystems2.WorkInProgress.DiscreteZerosAndPoles.Internal.numberOfRealZeros2

Information

Calculate number of real zeros

Interface

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

Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos