Click or drag to resize
SparseVectorDot Method (SparseVector)
Returns the inner product of this vector with the specified vector.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public double Dot(
	SparseVector that
)

Parameters

that
Type: Algs4NetSparseVector
the other vector

Return Value

Type: Double
the dot product between this vector and that vector
Exceptions
ExceptionCondition
ArgumentExceptionif the lengths of the two vectors are not equal
See Also