Vector<T>.DotProduct Method

Returns the dot product of this vector with another vector.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public virtual T DotProduct(
	Vector<T> vector
)

Parameters

vector  Vector<T>
The second vector.

Return Value

T
The dot product of the two vectors.

Exceptions

ArgumentNullException

vector is null.

DimensionMismatchException

The length of vector does not equal the length of this instance.

See Also