Memory 2D<T> Methods
Methods
AsSlice | Returns the array as an array slice with unit leadingDimension. |
Clear | Sets the specified number of elements to their default value. |
Clone | Creates a deep copy of the array. |
Clone | Returns a new contiguous 2D array with the specified elements of the current array. |
Column | Returns an array with offset that corresponds to a column in the array. |
Column | Returns an array with offset that corresponds to a column in the array that starts at the specified position. |
Diagonal | Returns an array slice that corresponds to a column in the array. |
Equals | Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object)) |
From( | Returns the array starting at the specified position. |
From( | Returns the array starting at the specified position with the specified leading dimension. |
Get | Returns the hash code for this instance. (Overrides ValueType.GetHashCode()) |
Get | Gets the index in the storage array of the element at the specified position. |
Get | Gets the Type of the current instance. (Inherited from Object) |
Resize | Returns a new array with the specified size and leading dimension. Elements are copied to the new array. |
Row | Returns the array slice that corresponds to a row in the array. |
Row | Returns the array slice that corresponds to a row in the array that starts at the specified position. |
Slice | Returns an array slice with a specified stride that starts at the specified position. |
Span |
Gets a span over the elements of the array.
Return ValueA Span<T>. |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) |
Transpose | Transposes the elements of the 2D array and returns the result. |
Transpose | Transposes the elements of the 2D array and returns the result in the specified array. |
With | Returns the array at the current position with the specified leading dimension. |