Slice.FromRange Method

Creates a slice over the specified range.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
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

Slice
A slice with stride stride, starting at startIndex and ending at the largest index smaller than endIndex.

See Also