Cv2SolveCubic Method OpenCvSharp Class Library
finds real roots of a cubic polynomial

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static int SolveCubic(
	InputArray coeffs,
	OutputArray roots
)

Parameters

coeffs
Type: OpenCvSharp.CPlusPlusInputArray
The equation coefficients, an array of 3 or 4 elements
roots
Type: OpenCvSharp.CPlusPlusOutputArray
The destination array of real roots which will have 1 or 3 elements

Return Value

Type: Int32

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.SolveCubic(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray)"]

See Also

Reference