pub fn solve_poly(coeffs: &dyn core::ToInputArray, roots: &mut dyn core::ToOutputArray, max_iters: i32) -> Result<f64> {
	input_array_arg!(coeffs);
	output_array_arg!(roots);
	unsafe { sys::cv_solvePoly_const__InputArrayX_const__OutputArrayX_int(coeffs.as_raw__InputArray(), roots.as_raw__OutputArray(), max_iters) }.into_result()
}
/// Finds the real or complex roots of a polynomial equation.
/// 
/// The function cv::solvePoly finds real and complex roots of a polynomial equation:
/// ![block formula](https://latex.codecogs.com/png.latex?%5Ctexttt%7Bcoeffs%7D%20%5Bn%5D%20x%5E%7Bn%7D%20%2B%20%20%5Ctexttt%7Bcoeffs%7D%20%5Bn%2D1%5D%20x%5E%7Bn%2D1%7D%20%2B%20%2E%2E%2E%20%2B%20%20%5Ctexttt%7Bcoeffs%7D%20%5B1%5D%20x%20%2B%20%20%5Ctexttt%7Bcoeffs%7D%20%5B0%5D%20%3D%200)
/// ## Parameters
/// * coeffs: array of polynomial coefficients.
/// * roots: output (complex) array of roots.
/// * maxIters: maximum number of iterations the algorithm does.
/// 
/// ## C++ default parameters
/// * max_iters: 300
Finds the real or complex roots of a polynomial equation.
The function cv::solvePoly finds real and complex roots of a polynomial equation:
[block formula]
Finds the real or complex roots of a polynomial equation . The function cv :: solvePoly finds real and complex roots of a polynomial equation : [ block formula ]
pub fn solve_poly(coeffs: &dyn core::ToInputArray, roots: &mut dyn core::ToOutputArray, max_iters: i32) -> Result<f64> {
	input_array_arg!(coeffs);
	output_array_arg!(roots);
	unsafe { sys::cv_solvePoly_const__InputArrayX_const__OutputArrayX_int(coeffs.as_raw__InputArray(), roots.as_raw__OutputArray(), max_iters) }.into_result()
}
pub fn solve_poly ( coeffs : & dyn core :: ToInputArray , roots : & mut dyn core :: ToOutputArray , max_iters : i32 ) -> Result < f64 > { input_array_arg ! ( coeffs ) ; output_array_arg ! ( roots ) ; unsafe { sys :: cv_solvePoly_const__InputArrayX_const__OutputArrayX_int ( coeffs . as_raw__InputArray ( ) , roots . as_raw__OutputArray ( ) , max_iters ) } . into_result ( ) }
Finds the real or complex roots of a polynomial equation.
Finds the real or complex roots of a polynomial equation .
coeffs
&dyn core::ToInputArray
roots
&mut dyn core::ToOutputArray
max_iters
i32
c++ default parameters
None