From 99bae771737415c6e48564a0927bdbd219384686 Mon Sep 17 00:00:00 2001 From: Ilya Lysenkov Date: Wed, 8 Jun 2011 14:58:46 +0000 Subject: [PATCH] Fixed coefficients order in solvePoly doc (ticket #1060) --- modules/core/doc/operations_on_arrays.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/core/doc/operations_on_arrays.rst b/modules/core/doc/operations_on_arrays.rst index f27359c1bf..2ae3603388 100644 --- a/modules/core/doc/operations_on_arrays.rst +++ b/modules/core/doc/operations_on_arrays.rst @@ -2802,7 +2802,7 @@ The roots are stored in the ``roots`` array. solvePoly --------- -.. cpp:function:: void solvePoly(InputArray coeffs, OutputArray roots, int maxIters=20, int fig=100) +.. cpp:function:: void solvePoly(InputArray coeffs, OutputArray roots, int maxIters=300) Finds the real or complex roots of a polynomial equation. @@ -2812,13 +2812,11 @@ solvePoly :param maxIters: Maximum number of iterations the algorithm does. - :param fig: - The function ``solvePoly`` finds real and complex roots of a polynomial equation: .. math:: - \texttt{coeffs} [0] x^{n} + \texttt{coeffs} [1] x^{n-1} + ... + \texttt{coeffs} [n-1] x + \texttt{coeffs} [n] = 0 + \texttt{coeffs} [n] x^{n} + \texttt{coeffs} [n-1] x^{n-1} + ... + \texttt{coeffs} [1] x + \texttt{coeffs} [0] = 0 .. index:: sort