/// <summary> /// Find all roots of a polynomial by calculating the characteristic polynomial of the companion matrix /// </summary> /// <param name="polynomial">The polynomial.</param> /// <returns>The roots of the polynomial</returns> public static Complex[] Polynomial(Polynomial polynomial) { return(polynomial.Roots()); }