![]() | Double |
The DoubleSparseVector type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Add(DoubleSparseVector, DoubleVector) | Adds a dense vector to a sparse vector. The result is a dense vector. |
![]() ![]() | Add(DoubleVector, DoubleSparseVector) | Adds a dense vector to a sparse vector. The result is a dense vector. |
![]() | Clone |
Creates a deep copy of this sparse vector.
(Overrides SparseVectorDataTClone) |
![]() ![]() | Divide | Divides a sparse vector by a scalar. |
![]() | Equals(Object) |
Equality of sparse vectors. Sparse vectors objects are equal if they have
the same nonzero elements.
(Overrides SparseVectorDataTEquals(Object)) |
![]() | Equals(SparseVectorDataT) |
Equality of sparse vector data. Sparse vector data objects are equal if they have
the same nonzero elements.
(Inherited from SparseVectorDataT) |
![]() | GetHashCode |
Gets the hash code for this instance.
(Overrides SparseVectorDataTGetHashCode) |
![]() ![]() | Multiply(Double, DoubleSparseVector) | Multiplies a sparse vector by a scalar. |
![]() ![]() | Multiply(DoubleSparseVector, Double) | Multiplies a sparse vector by a scalar. |
![]() | Scale | Scales each element in the sparse vector by the specified value. |
![]() | SetData |
Sets the sparse vector data of self to the given values.
(Inherited from SparseVectorDataT) |
![]() ![]() | Subtract | Subtracts a sparse vector from a dense vector. The result is a dense vector. |
![]() | ToString |
String representation.
(Overrides ObjectToString) |
![]() | ToString(String) | String representation with desired numeric formatting. |
![]() | TwoNorm | Computes the Euclidean norm of the element of self. |