Determine zeros of polynomial where highest coefficient of polynomial is not zero
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;