Table of Contents

Method SolvePoly

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

SolvePoly(InputArray, OutputArray, int)

finds real and complex roots of a polynomial

public static double SolvePoly(InputArray coeffs, OutputArray roots, int maxIters = 300)

Parameters

coeffs InputArray

The array of polynomial coefficients

roots OutputArray

The destination (complex) array of roots

maxIters int

The maximum number of iterations the algorithm does

Returns

double