Vector |
[SerializableAttribute] public abstract class VectorStorage<T> : IEquatable<VectorStorage<T>> where T : struct, new(), IEquatable<T>, IFormattable
The VectorStorageT type exposes the following members.
| Name | Description | |
|---|---|---|
| VectorStorageT | Initializes a new instance of the VectorStorageT class. |
| Name | Description | |
|---|---|---|
| IsDense | True if the vector storage format is dense. | |
| Item | Gets or sets the value at the given index, with range checking. |
| Name | Description | |
|---|---|---|
| AsArray | Returns the backing array if one is available. | |
| At(Int32) | Retrieves the requested element without range checking. | |
| At(Int32, T) | Sets the element without range checking. | |
| Clear | Clears all elements in the storage. | |
| Clear(Int32, Int32) | Clears a contiguous range of elements in the storage. | |
| CopySubVectorTo | Copies a subvector into another vector storage. | |
| CopyTo | Copies this storage into another vector storage. | |
| CopyToColumn | Copies this storage into a column of a matrix storage. | |
| CopyToRow | Copies this storage into a row of a matrix storage. | |
| CopyToSubColumn | Copies a range of elements into a column segment of a matrix storage. | |
| CopyToSubRow | Copies a range of elements into a row segment of a matrix storage. | |
| Enumerate | Enumerates all values in the storage. | |
| EnumerateIndexed | Enumerates all values in the storage together with their indices. | |
| EnumerateNonZero | Enumerates all nonzero values in the storage. | |
| EnumerateNonZeroIndexed | Enumerates all nonzero values in the storage together with their indices. | |
| Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object)) | |
| Equals(VectorStorageT) | Indicates whether the current object is equal to another object of the same type. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| Find | Finds the first element matching the specified predicate. | |
| Find2TOther | Finds the first pair of elements from two storages that matches the specified predicate. | |
| Fold2TOther, TState | Folds two storages into a single accumulated state. | |
| GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Map2To | Maps two storages into a target storage. | |
| MapIndexedInplace | Applies an indexed mapping function to each element in place. | |
| MapIndexedToTU | Maps the storage into another storage using the element index. | |
| MapInplace | Applies a mapping function to each element in place. | |
| MapToTU | Maps the storage into another storage. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToArray | Copies the storage into a new array. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| Length | The length of the vector storage. | |
| Zero | The zero value for the element type. |