Float |
The FloatSparseVector type exposes the following members.
Name | Description | |
---|---|---|
Add(FloatSparseVector, FloatVector) | Adds a dense vector to a sparse vector. The result is a dense vector. | |
Add(FloatVector, FloatSparseVector) | 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(FloatSparseVector, Single) | Multiplies a sparse vector by a scalar. | |
Multiply(Single, FloatSparseVector) | 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. |