Polynomial.Roots (Double, Int32) Method

Computes the roots of polynomial p via Weierstrass iteration.
Public Function Roots( _ 
ByVal tolerance As Double, _ 
ByVal max_iterations As Integer
) As Complex()
This language is not supported or no code example is available.
public Complex[] Roots( 
double tolerance
int max_iterations 
)
This language is not supported or no code example is available.
public:  
array< Complex^ >^ Roots( 
double tolerance
int max_iterations 
)
This language is not supported or no code example is available.
public function Roots( 
tolerance : double
max_iterations : int 
) : Complex[];
This language is not supported or no code example is available.

Parameters

tolerance
double

Computation precision; e.g. 1e-12 denotes 12 exact digits.

max_iterations
int

Maximum number of iterations; this value is used to bound the computation effort if desired pecision is hard to achieve.

Return Value

Complex[]

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition