Constructs a new array.
Namespace:
Extreme.Collections
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public ArraySlice(
T[] values,
int offset,
int stride
)
Public Sub New (
values As T(),
offset As Integer,
stride As Integer
)
public:
ArraySlice(
array<T>^ values,
int offset,
int stride
)
new :
values : 'T[] *
offset : int *
stride : int -> ArraySlice
Parameters
- values
- Type: T
The storage array. - offset
- Type: SystemInt32
The offset of the first element in the storage array. - stride
- Type: SystemInt32
The step between elements in the storage array.
The values array is re-used. Modifying elements in the array slice
will modify the elements in the original array. Conversely, if elements in the original array
that correspond to elements in the array slice are modified, the elements of the array slice
are modified as well.
Reference