Method SolveCubic
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
SolveCubic(InputArray, OutputArray)
finds real roots of a cubic polynomial
public static int SolveCubic(InputArray coeffs, OutputArray roots)
Parameters
coeffsInputArrayThe equation coefficients, an array of 3 or 4 elements
rootsOutputArrayThe destination array of real roots which will have 1 or 3 elements