Click or drag to resize

Cv2SolveCubic Method

finds real roots of a cubic polynomial

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static int SolveCubic(
	InputArray coeffs,
	OutputArray roots
)

Parameters

coeffs
Type: OpenCvSharpInputArray
The equation coefficients, an array of 3 or 4 elements
roots
Type: OpenCvSharpOutputArray
The destination array of real roots which will have 1 or 3 elements

Return Value

Type: Int32
See Also