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



x
A Vector object representing the first complex vector.
y
A Vector object representing the second complex vector.
Returns the dot product of two complex vectors.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function DotProduct( _
   ByVal x As Vector, _
   ByVal y As Vector _
) As Double
Visual Basic (Usage)Copy Code
Dim x As Vector
Dim y As Vector
Dim value As Double
 
value = Vector.DotProduct(x, y)
C# 
public static double DotProduct( 
   Vector x,
   Vector y
)
C++/CLI 
public:
static double DotProduct( 
   Vector^ x,
   Vector^ y
) 

Parameters

x
A Vector object representing the first complex vector.
y
A Vector object representing the second complex vector.

Return Value

A double representing the dot product of the two vectors.

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