Click or drag to resize

BairstowRootFinderSolve(DoubleVector) Method

Solves the polynomial P(x) = a[0] + a[1]*x + a[2]*x^2 + ... + a[n]*x^n Note that the constant term is at index 0 and the leading coefficient is at index
C#
a.Length - 1
.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public BairstowRootFinderSolveResult Solve(
	DoubleVector a
)

Parameters

a  DoubleVector
The coefficients of the polynomial to solve. The constant term is at index 0 and the leading coefficient is at index
C#
a.Length - 1
.

Return Value

BairstowRootFinderSolveResult
Result of the solve.
Exceptions
ExceptionCondition
InvalidArgumentException thrown if
C#
a.Length
is less than or equal to 1 (constant polynomial).
See Also