Read Only Span Slice<T>.From Method
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
From( | Returns an array slice starting at the specified index. |
From( | Returns an array slice starting at the specified index. |
From(Int32)
Returns an array slice starting at the specified index.
public ReadOnlySpanSlice<T> From(
int index
)
Parameters
- index Int32
- The zero-based index of the first element in the new array slice.
Return Value
ReadOnlySpanSlice<T>An array slice whose first element is at position index.
From(Int32, Int32)
Returns an array slice starting at the specified index.
public ReadOnlySpanSlice<T> From(
int index,
int stride
)
Parameters
- index Int32
- The zero-based index of the first element in the new array slice.
- stride Int32
- The stride between elements.
Return Value
ReadOnlySpanSlice<T>An array slice whose first element is at position index.