.Modelica_LinearSystems2.Math.Polynomial.Internal.rootsOfNonZeroHighestCoefficientPolynomial

Information

Determine zeros of polynomial where highest coefficient of polynomial is not zero

Interface

encapsulated function rootsOfNonZeroHighestCoefficientPolynomial
  import Modelica.ComplexMath.j;
  import Modelica_LinearSystems2.Math.Matrices;
  import Modelica_LinearSystems2.Math.Polynomial;
  import Complex;
  input Polynomial p "Polynomial";
  input Integer numberOfRoots "Number of roots of polynomial";
  output Complex result[:] = fill(Complex(0, 0), numberOfRoots) "Roots of polynomial";
end rootsOfNonZeroHighestCoefficientPolynomial;

Generated at 2024-12-17T19:26:02Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos