Version

VectorProduct(Vector,Vector) Method

Returns the vector product, also known as the dot product or inner product, of two Vector instances.
Syntax
'Declaration
 
Public Overloads Shared Function VectorProduct( _
   ByVal x1 As Vector, _
   ByVal x2 As Vector _
) As Double
public static double VectorProduct( 
   Vector x1,
   Vector x2
)

Parameters

x1
The first Vector.
x2
The second Vector.

Return Value

The sum of the products of corresponding entries in x1 and x2.
Exceptions
ExceptionDescription
System.ArithmeticException Occurs when the length of x1 does not equal the length of x2.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also