IStorage2D<T, TStorage2D> Methods

Methods

Clear Sets the specified number of elements to their default value.
(Inherited from IStorage2D<T>)
Clone Creates a deep copy of the array.
Obsolete.
CloneData Returns a new contiguous 2D array with the specified elements of the current array.
Create(Int32, Int32, Boolean) Constructs a new storage array of the specified dimensions.
Create(T[], Int32, Int32) Creates an array over a segment in a regular array.
From(Int32, Int32) Returns the array starting at the specified position.
From(Int32, Int32, Int32) Returns the array starting at the specified position with the specified leading dimension.
GetIndex Gets the index in the storage array of the element at the specified position.
(Inherited from IStorage2D<T>)
Resize Returns a new array with the specified size and leading dimension. Elements are copied to the new array.
Span Gets a span over the elements of the array.

Return Value

A Span<T>.
(Inherited from IStorage2D<T>)
Transpose Transposes the elements of the 2D array and returns the result.
TransposeTo Transposes the elements of the 2D array and returns the result in the specified array.
WithLeadingDimension Returns the array at the current position with the specified leading dimension.

See Also