From 75601ccf9e5da21f4d3dc42db5cd48e27623cac1 Mon Sep 17 00:00:00 2001 From: ElenaGvozdeva Date: Thu, 9 Oct 2014 11:34:44 +0300 Subject: [PATCH] small change in description for Gemm --- modules/core/doc/operations_on_arrays.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/core/doc/operations_on_arrays.rst b/modules/core/doc/operations_on_arrays.rst index 737fb08..bda9109 100644 --- a/modules/core/doc/operations_on_arrays.rst +++ b/modules/core/doc/operations_on_arrays.rst @@ -1222,7 +1222,7 @@ Performs generalized matrix multiplication. .. ocv:cfunction:: void cvGEMM( const CvArr* src1, const CvArr* src2, double alpha, const CvArr* src3, double beta, CvArr* dst, int tABC=0) - :param src1: first multiplied input matrix that should have ``CV_32FC1``, ``CV_64FC1``, ``CV_32FC2``, or ``CV_64FC2`` type. + :param src1: first multiplied input matrix that could be real(``CV_32FC1``, ``CV_64FC1``) or complex(``CV_32FC2``, ``CV_64FC2``). :param src2: second multiplied input matrix of the same type as ``src1``. @@ -1246,6 +1246,8 @@ The function performs generalized matrix multiplication similar to the ``gemm`` \texttt{dst} = \texttt{alpha} \cdot \texttt{src1} ^T \cdot \texttt{src2} + \texttt{beta} \cdot \texttt{src3} ^T +In case of complex (two-channel) data, performed a complex matrix multiplication. + The function can be replaced with a matrix expression. For example, the above call can be replaced with: :: dst = alpha*src1.t()*src2 + beta*src3.t(); -- 2.7.4