From 1d92a73a557efa4d6d41be8221853f82f7304cd3 Mon Sep 17 00:00:00 2001 From: Alankar Kotwal Date: Thu, 6 Aug 2015 22:09:23 +0530 Subject: [PATCH] Correct missing braces in operations_in_arrays.rst --- modules/core/doc/operations_on_arrays.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/doc/operations_on_arrays.rst b/modules/core/doc/operations_on_arrays.rst index c1de1b7efd..fc79c60c0c 100644 --- a/modules/core/doc/operations_on_arrays.rst +++ b/modules/core/doc/operations_on_arrays.rst @@ -2507,7 +2507,7 @@ The function ``pow`` raises every element of the input array to ``power`` : .. math:: - \texttt{dst} (I) = \fork{\texttt{src}(I)^power}{if \texttt{power} is integer}{|\texttt{src}(I)|^power}{otherwise} + \texttt{dst} (I) = \fork{\texttt{src}(I)^{power}}{if \texttt{power} is integer}{|\texttt{src}(I)|^{power}}{otherwise} So, for a non-integer power exponent, the absolute values of input array elements are used. However, it is possible to get true values for negative values using some extra operations. In the example below, computing the 5th root of array ``src`` shows: ::