.Modelica_LinearSystems2.WorkInProgress.DiscreteZerosAndPoles.Internal.numberOfRealPoles

Information

Calculate number of real poles

Interface

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

Generated at 2024-12-22T19:25:51Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos