CvArrayTDepthDotProduct Method |
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.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic double DotProduct(
CvArray<TDepth> otherArray
)
Public Function DotProduct (
otherArray As CvArray(Of TDepth)
) As Double
public:
double DotProduct(
CvArray<TDepth>^ otherArray
)
member DotProduct :
otherArray : CvArray<'TDepth> -> float
Parameters
- otherArray
- Type: Emgu.CVCvArrayTDepth
The other Array to apply dot product with
Return Value
Type:
Doublesrc1 dot src2
RemarksIn 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