Returns the dot product of this vector with another vector.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Overridable Function DotProduct ( _
	vector As Vector _
) As Double
C#
public virtual double DotProduct (
	Vector vector
)
C++
public:
virtual double DotProduct (
	Vector^ vector
)

Parameters

vector (Extreme.Mathematics.LinearAlgebra.Vector)
The second Vector.

Return Value

The dot product of the two vectors.

Exceptions

ExceptionCondition
ArgumentNullExceptionvector is nullNothingnullptr.
DimensionMismatchException The length of vector does not equal the length of this instance.