DenseVector<T, TStorage>.DotProduct Method

Returns the dot product of this vector with another vector.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public override 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