Double |
The DoubleComplexSparseVector type exposes the following members.
Name | Description | |
---|---|---|
DoubleComplexSparseVector(Int32) |
Constructs a DoubleComplexSparseVector instance sized for the given number
of non-zero entries. The resulting instance will not be useable until
the C# Entries C# Indices | |
DoubleComplexSparseVector(DoubleComplex, IndexArray) | Constructs a DoubleComplexSparseVector instance from the given data. | |
DoubleComplexSparseVector(DoubleComplexVector, IndexArray) | Constructs a DoubleComplexSparseVector instance from the given data. | |
DoubleComplexSparseVector(DoubleComplex, IndexArray, Int32) | Constructs a DoubleComplexSparseVector instance from the given data. | |
DoubleComplexSparseVector(DoubleComplexVector, IndexArray, Int32) | Constructs a DoubleComplexSparseVector instance from the given data. | |
DoubleComplexSparseVector(DoubleComplex, IndexArray, Int32, Boolean) | Constructs a DoubleComplexSparseVector instance from the given data. |
Name | Description | |
---|---|---|
Entries |
Gets and set the non-zero entries.
(Inherited from SparseVectorDataT) | |
Indices |
Gets and sets the non-zero entry's Indices.
(Inherited from SparseVectorDataT) | |
Item |
Gets and sets the value at the given index.
(Inherited from SparseVectorDataT) | |
NumberNonZero |
Gets an sets the number of non-zero elements.
(Inherited from SparseVectorDataT) |
Name | Description | |
---|---|---|
Add(DoubleComplexSparseVector, DoubleComplexVector) | Adds a dense vector to a sparse vector. The result is a dense vector. | |
Add(DoubleComplexVector, DoubleComplexSparseVector) | 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(DoubleComplex, DoubleComplexSparseVector) | Multiplies a sparse vector by a scalar. | |
Multiply(DoubleComplexSparseVector, DoubleComplex) | 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) | |
TwoNorm | Computes the Euclidean norm of the element of self. |
Name | Description | |
---|---|---|
Addition(DoubleComplexSparseVector, DoubleComplexVector) | Adds a dense vector to a sparse vector. The result is a dense vector. | |
Addition(DoubleComplexVector, DoubleComplexSparseVector) | Adds a dense vector to a sparse vector. The result is a dense vector. | |
Division(DoubleComplexSparseVector, DoubleComplex) | Divides a sparse vector by a scalar. | |
Multiply(DoubleComplex, DoubleComplexSparseVector) | Multiplies a sparse vector by a scalar. | |
Multiply(DoubleComplexSparseVector, DoubleComplex) | Multiplies a sparse vector by a scalar. | |
Subtraction(DoubleComplexVector, DoubleComplexSparseVector) | Subtracts a sparse vector from a dense vector. The result is a dense vector. |
Name | Description | |
---|---|---|
entries_ |
Non-zero entries of the sparse vector.
(Inherited from SparseVectorDataT) | |
indices_ |
Indices of the non-zero entries such that the ith non-zero entry
has index indices_[i].
(Inherited from SparseVectorDataT) | |
numNonZero_ |
Number of non-zero elements in the sparse vector.
(Inherited from SparseVectorDataT) |