Click or drag to resize

BairstowRootFinderFindUniqueRoots Method (Polynomial, Int32, Double)

Finds the unique roots of a polynomial using repeated application of Bairstow's method.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
public static ICollection<DoubleComplex> FindUniqueRoots(
	Polynomial p,
	int maxIterations = 100,
	double tolerance = 1E-12
)

Parameters

p
Type: CenterSpace.NMath.CorePolynomial
The polynomial to solve.
maxIterations (Optional)
Type: SystemInt32
Maximum number of iterations to perform during an application of Bairstow's method.
tolerance (Optional)
Type: SystemDouble
Iteration in Bairstow's method terminates if
StepLength
falls below this value.

Return Value

Type: ICollectionDoubleComplex
The set of unique roots.
See Also