SparseVectorDot Method (Double) |
Returns the inner product of this vector with the specified array.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic double Dot(
double[] that
)
Parameters
- that
- Type: SystemDouble
that the array
Return Value
Type:
Doublethe dot product between this vector and that array
ExceptionsException | Condition |
---|
ArgumentException | if the dimensions of the vector and the array are not equal |
See Also