Click or drag to resize

BairstowRootFinderFindAllRoots Method (DoubleVector, Int32, Double)

Finds all the roots of polynomial by repeated application of Biarstow's method.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
public static IList<BairstowRootFinderSolveResult> FindAllRoots(
	DoubleVector a,
	int maxIterations = 100,
	double tolerance = 1E-12
)

Parameters

a
Type: CenterSpace.NMath.CoreDoubleVector
The coefficients of the polynomial to solve. The constant term is at index 0 and the leading coefficient is at index
a.Length - 1
.
maxIterations (Optional)
Type: SystemInt32
Iteration terminates when the iteration count exceeds this value.
tolerance (Optional)
Type: SystemDouble
Iteration terminates if
StepLength
fall below this value.

Return Value

Type: IListBairstowRootFinderSolveResult
List of results for each application of Bairstow's method.
See Also