functionrootsOfNonZeroHighestCoefficientPolynomial

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

Inputs

TypeNameDefaultDescription
PolynomialpPolynomial
IntegernumberOfRootsNumber of roots of polynomial

Outputs

TypeNameDefaultDescription
Complex[:]resultfill(Complex(0, 0), numberOfRoots)Roots of polynomial