SparseT Methods |
The SparseT generic type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Creates a new object that is a copy of the current instance.
| |
CopyTo |
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsFull |
Determines whether this Sparse vector has elements on all indices.
| |
ToDense |
Converts this sparse vector to a dense vector of the given length.
| |
ToDense(Int32) |
Converts this sparse vector to a dense vector of the given length.
| |
ToSparse |
Converts this sparse vector to a sparse representation where
the indices are intertwined with their corresponding values.
| |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) | |
ToString(String, IFormatProvider) |
Returns a String that represents this instance.
|
Name | Description | |
---|---|---|
ApplyT, TResult(FuncT, TResult) | Overloaded.
Applies a function to every element of the array.
(Defined by Matrix.) | |
ApplyT, TResult(FuncT, TResult, TResult) | Overloaded.
Applies a function to every element of the array.
(Defined by Matrix.) | |
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
SetEqualsT |
Compares two enumerables for set equality. Two
enumerables are set equal if they contain the
same elements, but not necessarily in the same
order.
(Defined by Matrix.) | |
ShuffleT |
Shuffles a collection.
(Defined by Vector.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |