Click or drag to resize

FindRootsPolynomial(Double) Method

Find all roots of a polynomial by calculating the characteristic polynomial of the companion matrix

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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

Complex
The roots of the polynomial
See Also