.NET Matrix Library
DotProduct(CVector) Method
See Also  Send Feedback



vector
A CVector object.
Returns the dot product of this vector with another vector.

Syntax

Visual Basic (Declaration) 
Public Overloads Function DotProduct( _
   ByVal vector As CVector _
) As Complex
Visual Basic (Usage)Copy Code
Dim instance As CVector
Dim vector As CVector
Dim value As Complex
 
value = instance.DotProduct(vector)
C# 
public Complex DotProduct( 
   CVector vector
)
C++/CLI 
public:
Complex DotProduct( 
   CVector^ vector
) 

Parameters

vector
A CVector object.

Return Value

A complex representing the dot product of this vector with the specified vector.

Exceptions

ExceptionDescription
SizeMismatchExceptionVectors are not of the same size.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library