.Modelica_LinearSystems2.ZerosAndPoles.Internal.numberOfRealPoles

Information

Calculate number of real poles

Interface

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

Generated at 2024-04-24T18:15:52Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos