Click or drag to resize

SparseVector Operators

The SparseVector type exposes the following members.

Operators
 NameDescription
Public operatorStatic memberAddition(SparseVector, SparseVector) Adds two Vectors together and returns the results.
Public operatorStatic memberDivision(SparseVector, Single) Divides a vector with a scalar.
Public operatorStatic memberModulus(SparseVector, Single) Computes the remainder (% operator), where the result has the sign of the dividend, of each element of the vector of the given divisor.
Public operatorStatic memberMultiply(Single, SparseVector) Multiplies a vector with a scalar.
Public operatorStatic memberMultiply(SparseVector, SparseVector) Computes the dot product between two Vectors.
Public operatorStatic memberMultiply(SparseVector, Single) Multiplies a vector with a scalar.
Public operatorStatic memberSubtraction(SparseVector, SparseVector) Subtracts two Vectors and returns the results.
Public operatorStatic memberUnaryNegation(SparseVector) Returns a Vector containing the negated values of rightSide.
Top
See Also