.Modelica_LinearSystems2.ZerosAndPoles.Internal.numberOfRealZeros2

Information

Calculate number of real zeros

Interface

function numberOfRealZeros2
  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.n)));
end numberOfRealZeros2;

Generated at 2024-10-14T18:25:21Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos