http://www.emgu.com
Finds all real and complex roots of any degree polynomial with real coefficients

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static void cvSolvePoly(
	IntPtr coeffs,
	IntPtr roots,
	int maxiter,
	int fig
)
Visual Basic
Public Shared Sub cvSolvePoly ( _
	coeffs As IntPtr, _
	roots As IntPtr, _
	maxiter As Integer, _
	fig As Integer _
)
Visual C++
public:
static void cvSolvePoly(
	IntPtr coeffs, 
	IntPtr roots, 
	int maxiter, 
	int fig
)

Parameters

coeffs
Type: System..::..IntPtr
The (degree + 1)-length array of equation coefficients (CV_32FC1 or CV_64FC1)
roots
Type: System..::..IntPtr
The degree-length output array of real or complex roots (CV_32FC2 or CV_64FC2)
maxiter
Type: System..::..Int32
The maximum number of iterations
fig
Type: System..::..Int32
The required figures of precision required

See Also