Slice.From Range Method
Creates a slice over the specified range.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A slice with stride stride, starting at startIndex and ending at the largest index smaller than endIndex.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static Slice FromRange(
int startIndex,
int endIndex,
int stride
)
Parameters
- startIndex Int32
- The first index in the slice.
- endIndex Int32
- An index past the last index in the slice.
- stride Int32
- The slice's stride.
Return Value
SliceA slice with stride stride, starting at startIndex and ending at the largest index smaller than endIndex.