Polynomial.Roots (Polynomial, Double, Int32) Method
Public Shared Function Roots( _
ByVal p As Polynomial, _
ByVal tolerance As Double, _
ByVal max_iterations As Integer _
) As Complex()
This language is not supported or no code example is available.
public static Complex[] Roots(
Polynomial p,
double tolerance,
int max_iterations
)
This language is not supported or no code example is available.
public:
static array< Complex^ >^ Roots(
Polynomial^ p,
double tolerance,
int max_iterations
)
This language is not supported or no code example is available.
Parameters
Polynomial to compute the roots of.
- 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.