http://www.emgu.com
Calculates and returns the Euclidean dot product of two arrays. src1 dot src2 = sumI(src1(I)*src2(I))

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public double DotProduct(
	CvArray<TDepth> otherArray
)
Visual Basic
Public Function DotProduct ( 
	otherArray As CvArray(Of TDepth)
) As Double
Visual C++
public:
double DotProduct(
	CvArray<TDepth>^ otherArray
)
F#
member DotProduct : 
        otherArray : CvArray<'TDepth> -> float 

Parameters

otherArray
Type: Emgu.CV..::..CvArray<(Of <(<'TDepth>)>)>
The other Array to apply dot product with

Return Value

Type: Double
src1 dot src2

Remarks

In case of multiple channel arrays the results for all channels are accumulated. In particular, cvDotProduct(a,a), where a is a complex vector, will return ||a||^2. The function can process multi-dimensional arrays, row by row, layer by layer and so on.

See Also