FindRootsPolynomial(Double) Method |
Find all roots of a polynomial by calculating the characteristic polynomial of the companion matrix
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static Complex[] Polynomial(
double[] coefficients
)
Parameters
- coefficients Double
- The coefficients of the polynomial in ascending order, e.g. new double[] {5, 0, 2} = "5 + 0 x^1 + 2 x^2"
Return Value
ComplexThe roots of the polynomial
See Also