Returns the sum of this vector and the specified vector.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic SparseVector Plus(
SparseVector that
)
Parameters
- that
- Type: Algs4NetSparseVector
the vector to add to this vector
Return Value
Type:
SparseVectorthe sum of this vector and that vector
ExceptionsException | Condition |
---|
ArgumentException | if the dimensions of the two vectors are not equal |
See Also