.Modelica_LinearSystems2.DiscreteZerosAndPoles.Internal.numberOfRealPoles

Information

Calculate number of real poles

Interface

function numberOfRealPoles
  import Modelica;
  import Modelica_LinearSystems2.Internal;
  import Modelica_LinearSystems2.DiscreteTransferFunction;
  import Modelica_LinearSystems2.Math.Polynomial;
  input Modelica_LinearSystems2.DiscreteTransferFunction dtf "TransferFunction";
  output Integer result = Internal.numberOfRealZeros(Polynomial.roots(Polynomial(dtf.d)));
end numberOfRealPoles;

Generated at 2024-04-26T18:16:04Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos